We have noticed that if our app is closed or crashes when the Facebook permissions dialog is open, we cannot request permissions when the game is reopened. Trying to do so gives us this error:
Runtime Error: java.lang.UnsupportedOperationException: Session: an attempt was made to request new permissions for a session that has a pending request.
and the game crashes when the error is dismissed.
I have found the following which suggest it is a known problem with a potential fix, but is this fix in place in the current Facebook plugin?
https://developers.facebook.com/docs/android/troubleshooting#pendingrequest
Corona’s own Networking/Facebook sample will be able to replicate this. The only requirement is that you are signing into the app for the first time (i.e. use a new facebook account) so that the permission has not already been accepted in the past.