I have an issue with the Facebook iOS SDK. Here is what happens:
- I have one Facebook app
- I have 2 versions of my iPhone app (one free, one paid), so 2 different bundle identifiers (com.company.iphone-free and com.company.iphone-paid).
- both apps uses the same Facebook ID app for single sign-on.
- all is setup like described in the facebook documentation, delegates url schemes …
The issue is, if from the free app I’m trying to use Facebook, it quits the app, goes to the Facebook app and back to my app, but to the paid app, it launches the paid one and not the free one. Is there a way to avoid that?
If I have just one of the version (paid or free) installed on the device, it works well.
I know I could create a specific Facebook app for each version of the iphone app, but I definitely don’t want that.
There’s some specific changes that need to be made to support multiple IOS apps using the same Facebook app ID with the Single Sign-On Authentication
See https://developers.facebook.com/docs/howtos/share-appid-across-multiple-apps-ios-sdk/ for more information.
The most important things to check are: