facebook-sdk-for-unity
facebook-sdk-for-unity copied to clipboard
Can't install multiple unity android apps withing the same facebook app
Checklist
- [x] I've updated to the latest released version of the SDK
- [x] I've searched for existing GitHub issues
- [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [x] I've read the Code of Conduct
- [x] This issue is not security related and can safely be disclosed publicly on GitHub
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
- Unity Editor Version:
2020.3.16f1
- Unity SDK Version:
11.0.0
Goals
I want to use the same Facebook app for multiple unity android applications as i'm using them along with firebase which only accept one app id.
Expected Results
Can install all 3 of my apps
Actual Results
I can only install one app at a time when doing this.
Steps to Reproduce
- Have multiple unity projects
- Use the same facebook app id with the same firebase project
- add multiple android packages (and hashes) for the same facebook app
- try to build and install them at the same time
Temporary fix is to remove
<provider android:name="com.facebook.FacebookContentProvider" android:authorities="com.facebook.app.FacebookContentProvider<app id>" android:exported="true" />
from android manifest file in all apps but one, it's related to facebook sharing i think, so only use it if you need it, still need to confirm this, i only use the sdk for login.