I have added ion cloud services applications to the application and want to use my own FaceBook authentication.
import { FacebookAuth } from '@ionic/cloud-angular'; this.facebookAuth.login()
When I run this function on my Android phone, as expected, I get a Facebook prompt to find out if my application can get permissions to read the profile and email. When I press YES, the function returns an empty ERROR object:
Object {}
I am sure that I caught this correctly, because when I select CANCEL at the FB prompt, I get this error object:
Object {errorCode: "4201", errorMessage: "User cancelled dialog"}
Note. I use a remote web inspector in chrome to see the full console. Unfortunately, since this requires a real device, I cannot do this. However, I hope someone has an idea why this could happen. I followed all these steps, including the FB developer settings, hashing, and ionic.io settings.
source share