Please provide the following:
- SDK Version:~37.0.3
- Platforms(Android/iOS/web/all):
I try login with Facebook when destructure token from FacebookLoginResult show this error: Property ‘token’ does not exist on type ‘FacebookLoginResult’.
const facebookLogin = async () => {
try{
await Facebook.initializeAsync(facebook.config.application_id);
const {type, token} = await Facebook.logInWithReadPermissionsAsync({
permissions: ['public_profile'],
});
}catch({message}) {
console.log(message);
}
}