Open iamromec opened 1 year ago
Hello, Remember that if you are working with Capacitor as Core, you can not perform "ionic cordova plugin add ---
" (because this command is when you use Cordova as Core) you must install it directly via npm "npm i cordova-plugin-nnnn-nnnn
".
In the Ionic page, you have some tabs that tell you which way to install for each Core.
@javierjsp variables are unsupported via npm i
and it's required by this plugin.
@iamromec well in this case as far as I understand, you can manually change the variables that the plugin uses before compiling, they are located in the following path
"platforms\android\app\src\main\res\values\facebookconnect.xml"
but my recommendation would be that if you are working with capacitor you use directly the capacitor community plugin.
https://github.com/capacitor-community/facebook-login
I hope it helps you at least a little bit :)
We can use cordova variables in capacitor config file: under capacitor config.ts or json:
cordova: {
preferences: {
APP_ID: "YOUR_APP_ID",
APP_NAME: "YOUR_APP_NAME"
}
}
Hello
we are using this plugin into our capacitor apps
but one app fine and once we try into another app then it says error like
error: INSTALL_FAILED_CONFLICTING_PROVIDER:
because we see cordova variable needed while installing plugin and based on variable it create authorities for .xml
but in capacitor it not works
does anyone help us how to fix it
Thank you
It's breaking and we're unable to install it with the cap 4.0 project.