Using the plugin cordova-plugin-facebook4, I successfully implemented facebook login.
However, I need the email authorization to be “required” (meaning the user should not attempt login without giving facebook authorization to get his email)
If he doesn’t allow access to email, redirect to login.
This works well so far, BUT when he tries to connect again using facebook (to give him the chance to allow access to email this time), facebook is not asking again for authorization.
I have read online that native sdk make use of the “rerequest” or “reauthentication” callback / paramet.
But apparently all facebook cordova plugin do not have this extra callback/parameter feature.
( for info, parameter mentioned here: https://developers.facebook.com/docs/facebook-login/reauthentication )
Did anyone successfully implement this feature ?
Please help me.