|
[插件使用]
jVerification模块ios初始化授权登录失败
[复制链接]
本帖最后由 荏苒_yang 于 2021-1-6 18:12 编辑
我需要用到极光手机号一键登录功能,jVerification模块安卓是好的,但是在ios初始化后,无法吊起授权登录
代码如下:
var jVerification = null;
var appKey = '600b319526cfd81748faeb96';
apiready = function() {
jVerification = api.require("jVerification");
init();
};
// 初始化SDK
function init() {
jVerification.init({
appKey: appKey,
channel:'channel',
isProduction: false,
timeout: 10000
}, function(ret) {
alert('init::' + JSON.stringify(ret));
loginAuth();
})
}
//授权登录
function loginAuth() {
jVerification.loginAuth({
autoFinish: true,
animationFlag: true,
timeout: 7000
}, function(ret) {
alert('loginAuth::' + JSON.stringify(ret));
})
}
错误提示:{"content":"network type not supported","operator":"","code":2016}
|
|