Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Same FB App, multiple iOS Bundle IDs, with different suffixes?

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?

like image 799
elado Avatar asked Oct 27 '11 20:10

elado


People also ask

Can two apps have the same bundle ID?

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.

What is the difference between app ID and bundle ID in iOS?

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".

Can I change bundle ID in App Store Connect?

Once your app is approved and available for download on the Apple App Store, your Bundle ID cannot be changed.

What is iOS app package name?

An . ipa (iOS App Store Package) file is an iOS application archive file which stores an iOS app.


1 Answers

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
like image 114
stipe108 Avatar answered Sep 24 '22 17:09

stipe108