Hello ,
I try to use facebook authentification on my ionic application ,
I tested it on emulator it worked , but when i try on android device the application didn’t start
After ionic cordova run android
i get just a black screen , when i romve facebook plugin from my application , it start correctly
On ios my application started correctly with the facebook plugin .
android version : 6.4.0
my application info @ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 8.0.0
BUILD FAILED in 14s
at ChildProcess.whenDone (D:\myproject\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:4124) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4124) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
thank you @Volli i resolved that by using your solution and removing the android platform and add it again
$ ionic corova platform rm android
$ ionic corova platform add android@6.4.0
Hi i am facing same issue as above and i have tried all solution provided in comments. Still i am getting same error. I have tried with ```
facebook-android-sdk:4.34.0/4.35.0/4.36.0
My Configuration are:
node : v9.2.1
npm : v6.2.0
ionic : 3.9.2
cordova : 8.0.0
android: 7.0.0 and i have also installed cordova-plugin-enable-multidex.
Please help me out here as i am new to ionic development