capacitor-community / facebook-login

Facebook Login support
MIT License
103 stars 54 forks source link

update to implements capacitor v3 #32

Closed rdlabo closed 3 years ago

rdlabo commented 3 years ago

This pull request is update to implements capacitor v3 This is branch of https://github.com/capacitor-community/facebook-login/tree/feature/v3 and test here:

npm i --save @capacitor-community/facebook-login@next
Yuripetusko commented 3 years ago

While testing this I noticed that on Android facebook Login promise never resolves and there are no errors either in try catch block

const result = await FacebookLogin.login({ permissions: FACEBOOK_PERMISSIONS });
I see a dialog opens and closes immediately but promises never resolves 
console.log('result', result);

This console.log simply never fires