Closed mrmacpholea closed 4 years ago
Also checked #186 but I cloned recently (a week ago) #186 merge was done in April ...
Hi @marcelopham We reproduced the issue and we can confirm that indeed the login callBack is not called on iOS. The issue is in the plugin itself, it is not related to the type of the demo-app[NG/VUE/TS]. We will investigate it and try to provide solution to the issue. You can follow this thread, we will notify once a fix is available. Regards, NativeScript Team
Try removing the code below in your AppDelegate
applicationModule.ios.delegate = BaseDelegate;
Mine works after doing this.
@marcelopham I managed to reproduce the issue with the following steps:
I believe this is related to the fact that all demo apps share the same app id and the Facebook SDK has troubles identifying the correct app to give the access token once you login. Can you confirm that you are having the issue when running only one of the demo apps or you are also running more than one app with the same id?
P.S. In order to confirm that the callback is called, on this line I added:
console.log('SUCCESSFUL LOG IN!!!');
closing due to inactivity
demo-vue never calls onLogin method after logging in
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
Is there any code involved?
I checked other issues (#47, #59) but it does not apply, I'm using the same github code. Thanks!!!