Here is my setup:
I have quite a few targets to run an app on the white-label method.
So each target has its own Info.plist, icons, names, etc.
The thing is that I want to have one login system only with facebook. So they all point to the same facebook app.
The problem: sometimes, when I login on app A using facebook, the facebook app open the app B.
I have all setup following the facebook guide with all bundle ids registered on facebook app, etc.
Has anyone had this issue before?
Solved it by forcing facebook login behavior to stay on a webview.
loginBehavior = FBSDKLoginBehaviorWeb
This way the users never leaver the app, so there is no chance of returning on a scheme opening the wrong app.