I want to add a share dialog in my app with the new Facebook SDK but I have a problem when adding the provider in my manifest.
Indeed, i have to add :
<provider android:authorities="com.facebook.app.FacebookContentProvider{APP_ID}"
android:name="com.facebook.FacebookContentProvider"
android:exported="true"/>
But for me, i have one App ID per Country (1 Facebook developer app / country). When I add 2 providers, I have a conflict in Android Studio because of the provider android:name.
Can I put a reference to the string in the "android:authorities="com.facebook.app.FacebookContentProvider{APP_ID}" ? Is it possible to do this ? Or can I declare many provider with the same name ? Or Can I have one manifest per country ?
Thanks for your help guys
0 comments:
Post a Comment