简体   繁体   中英

How to setup staging and production app for Facebook login?

I am adding Facebook auth to app for sign up (with Firebase auth).

Issue is I have different flavor for dev and prod apps, so bundle ID for iOS and app ID for Android is different: dev (com.example.dev) and prod (com.example) .

Facebook require:

Android:

5. Associate Your Package Name and Default Class with Your App

6. Provide the Development and Release Key Hashes for Your App

iOS:

3a. Add your Bundle Identifier

Is solution to set up test Facebook app for development app, and normal Facebook app for production app?

You can create Test Versions for an App directly in the App settings: https://developers.facebook.com/docs/apps/test-apps/

They are like child Apps, with different App ID and different settings. For example, you can set a different Key Hash for the Android platform.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM