Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Facebook LoginWithReadPermissions crashes on iOS9

$
0
0
I've been trying to solve this for 2 days with no luck, thought I'd just ask. I'm using the Facebook 7.2.0 (also crashed with 7.1.0) sdk for unity. It works on most iPhone 4 and 5s with iOS 8 and below. But on two iPhone 6 with iOS9, it instantly crashes the app when I try to log in. I've cleaned out the Facebook plugin and reinstalled the package. Here's the code I run. string[] scope = new string[]{"public_profilie","email", "user_friends"}; FB.LogInWithReadPermissions(scope, OnFBLogin); void OnFBLogin (IResult result) { if(FB.IsLoggedIn) { //do stuff } } Works in the editor, works on Android, works on most iPhones. But on iOS9, it crashes without even bringing up the facebook login dialog. Any help would be appreciated.

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>