'Send report to developer' feature

Hi,

I’ve deployed a build to iOS signed for development and a couple of the internal testers have reported the same bug when trying to connect to Facebook. The authorisation screen comes up in Facebook itself, but instead of calling back to the app afterwards, it shows this screen:

67b22817-e41d-4700-b70e-6847cd317373_zps

Firstly, this seems to happen whenever the user doesn’t have their Facebook account details set in Settings even when logged in. Is this a known bug or have I missed something out?

Secondly, this made me realise it would be useful to have a button (at least in development - I can include it in the unhandledError event when distributed) for sending logs to me so I can debug straight away. Is there a way to get the device’s logs (at least, say, the last 10-20 lines) ?

Cheers

Cush

UPDATE: The same devices can sometimes hang during the login process as well. In this case, the device logs show:

Jan 23 19:33:38 Cush-Phone accountsd[89] \<Notice\>: 2014-01-23 19:33:38.972 accountsd[22795]: No TCC state found Jan 23 19:33:39&nbsp;Cush-Phone&nbsp;kernel[0] \<Debug\>: launchd[1195] Builtin profile: PasteBoard (sandbox) Jan 23 19:51:03 Cush-Phone FUMobile[1259] \<Warning\>: Listened to Facebook, heard back: The operation couldn’t be completed. (com.facebook.sdk error 2.). Event type: session

The latter line comes from the first line of my listener for the facebook.login() command:

print("Listened to Facebook, heard back: "..tostring(event.response)..". Event type: "..tostring(event.type))&nbsp;

EDIT: Also, here’s a Pastebin of the full logs

Ok, so the issue with the Facebook error was that the people who were trying to log into the app had not accepted the invites for becoming part of the app on the Facebook Developer portal (testers, developers, administrators) so obviously Facebook just considered them not to be authorised to use the app.

However, I’m still looking for a way the user can send the device logs to me. I am going to try using the File object and this guide. If there is a better/more efficient way, please let me know

UPDATE: The same devices can sometimes hang during the login process as well. In this case, the device logs show:

Jan 23 19:33:38 Cush-Phone accountsd[89] \<Notice\>: 2014-01-23 19:33:38.972 accountsd[22795]: No TCC state found Jan 23 19:33:39&nbsp;Cush-Phone&nbsp;kernel[0] \<Debug\>: launchd[1195] Builtin profile: PasteBoard (sandbox) Jan 23 19:51:03 Cush-Phone FUMobile[1259] \<Warning\>: Listened to Facebook, heard back: The operation couldn’t be completed. (com.facebook.sdk error 2.). Event type: session

The latter line comes from the first line of my listener for the facebook.login() command:

print("Listened to Facebook, heard back: "..tostring(event.response)..". Event type: "..tostring(event.type))&nbsp;

EDIT: Also, here’s a Pastebin of the full logs

Ok, so the issue with the Facebook error was that the people who were trying to log into the app had not accepted the invites for becoming part of the app on the Facebook Developer portal (testers, developers, administrators) so obviously Facebook just considered them not to be authorised to use the app.

However, I’m still looking for a way the user can send the device logs to me. I am going to try using the File object and this guide. If there is a better/more efficient way, please let me know