Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 6.0.1 上注册时出现异常 #24

Open
cnryb opened this issue Apr 19, 2016 · 1 comment
Open

android 6.0.1 上注册时出现异常 #24

cnryb opened this issue Apr 19, 2016 · 1 comment

Comments

@cnryb
Copy link

cnryb commented Apr 19, 2016

设备是小米4自动升级到了android 6.0.1 MMB29M
使用这种方式注册

    xgpush.registerPush("android-485e4db6-75c2-4e73-ad8a-9942fd33e066").then(function (results) {
        // results 里有 flag 和 data
        alert('设备的 token 是: ' + results.data);
    }).catch(function (errCode) {
        alert('oh no: ' + JSON.stringify(errCode));
    });

会出现以下错误

{"data":"","code":10100,"message":"network can't reachable!"}

在其他 Android 5.X 测试一切还是正常。

这个问题应该如何解决,求指导

@ryanlin1986
Copy link

ryanlin1986 commented Aug 12, 2016

测试android 6.0正常(魅族pro6), registerPush没有传参数, 如果传了则报错(服务器返回错误)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants