I have a problem with facebook SDK version 4.0.0
->
I am trying to set up two different flavors of my app - staging and production.
Everything works as fine as expected but I get INSTALL_FAILED_CONFLICTING_PROVIDER
error when trying to install one app if another is already on the device.
I researched it, tried a couple of solutions but unfortunately as this is a 3rd party provider I achieved nothing.
Maybe someone encountered a similar problem and found a solution? I'll be glad for any help, links, documentations etc.
Here is how I define provider in manifests, it's exactly how facebook documentation tells this should be done
<provider android:authorities="com.facebook.app.FacebookContentProvider{staging or production fb app id depending on flavour}"
android:name="com.facebook.FacebookContentProvider"
android:exported="true" />