After upgrading a react-native from 0.56 to 0.59.8 (using FBSDK 0.10.1), the facebook login don't work anymore on android.
when I fill the Fb login form and continue, LoginManager.logInWithPermissions promise does not resolve and never goes to .then() after logInWithPermissions()
here is my code:
loginWithFBSDKLoginManager() {
LoginManager.logOut();
const self = this;
return new Promise((resolve, reject) => {
LoginManager.logInWithPermissions(['public_profile', 'email']).then(function (result) {
if (result.isCancelled) {
return;
}
AccessToken.getCurrentAccessToken().then((data) => {
const accessToken = data.accessToken.toString();
const userID = data.userID.toString();
self
.getUserInfos(accessToken)
.then((response) …Run Code Online (Sandbox Code Playgroud)我正在搜索如何在恢复最小化窗口之前请求密码.
实际上,当我恢复窗口时,在显示密码对话框之前,主窗体是可见的.(我使用"调整大小"事件在表单还原时调用我的密码对话框.)
但我需要在主窗体可见之前显示密码对话框(因为它包含未经授权的人员无法看到的敏感数据)
任何想法都要使主窗体不可见,直到验证passord.
谢谢