I have two versions of my iPhone app, one is for the appstore and the other an ad-hoc version for internal testing. They have: - Same FB App ID for both (they both communicate with same backend) - Two different bundle IDs (so they can both be installed on device) - Different URL suffixes (empty and 'adhoc')
They both worked properly with login, but when I changed the iOS Bundle ID on the app page on FB admin tool it obviously stopped working: I got "fb_APP_ID_SUFFIX://authorize#error=unknown%5Ferror" as the URL before it called to fbDidNotLogin, on the test app.
If I don't put the iOS bundle ID it works. Do I have any option to still protect the bundle ID and have the other app working?
A bundle ID or bundle identifier uniquely identifies an application in Apple's ecosystem. This means that no two applications can have the same bundle identifier. To avoid conflicts, Apple encourages developers to use reverse domain name notation for choosing an application's bundle identifier.
Bundle ID is the identifier of an App, but App ID is not. App ID is the connection between App and provisioning profile. From "About Bundle IDs" section in here, you can see, "A bundle ID precisely identifies a single app".
Once your app is approved and available for download on the Apple App Store, your Bundle ID cannot be changed.
An . ipa (iOS App Store Package) file is an iOS application archive file which stores an iOS app.
I've run into this same problem and you can specify two separate bundle Ids in your Facebook app settings. Under "Settings->Basic->Native iOS App->iOS Bundle ID" you can add both the bundle Id of your normal app and the bundle Id of your ad-hoc test version.
For example:
com.devname1.appname
com.devname2.appname
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With