facebook-sdk-for-unity icon indicating copy to clipboard operation
facebook-sdk-for-unity copied to clipboard

Can't install multiple unity android apps withing the same facebook app

Open OrionDev23 opened this issue 3 years ago • 1 comments

Checklist

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

OrionDev23 avatar Aug 13 '21 11:08 OrionDev23

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.

OrionDev23 avatar Aug 13 '21 16:08 OrionDev23