小编Quy*_*ham的帖子

Android上Meteor.loginWithGoogle错误10

我使用下面的功能Meteor.loginWithGoogle来登录google。它可以在浏览器上运行,但是当我构建为apk时(cordova)它失败了(控制台日志是错误10)。

handleLoginError(err, service) {
   console.error(err);
}

Meteor.loginWithGoogle({}, (err) => {
  if (err) {
    this.handleLoginError(err, 'google');
  } else {
    this.handleLoginSuccess();
  }
});
Run Code Online (Sandbox Code Playgroud)

android meteor meteor-accounts

6
推荐指数
1
解决办法
121
查看次数

标签 统计

android ×1

meteor ×1

meteor-accounts ×1