获得徽章 0
- jym
Android原生集成uniappSDK小程序,在oppo和华为手机上打开首页白屏,抓到的日志提示
Package not found: com.huawei.webview
Package not found: com.google.android.webview
又遇到这种问题的吗小米手机没问题展开评论点赞 - 在APP中集成了阿里云的mPaas推送功能,用户点击同意隐私政策后才调用这两个API
MPPush.setup(this);
MPPush.init(this);
华为商店审核说是提前获取设备ID,
这个设备ID是什么,有知道的jy吗?3点赞 - 调用阿里云的mPaas推送功能//最好在子线程中调用绑定用户的相关操作
private void doBind() {
new Thread("bindUserThread") {
@Override
public void run() {
doSimpleBind();
}
}.start();
}
// 绑定用户id和adtoken(封装后的简易接口,基于内置渠道标识)
private void doSimpleBind() {
final ResultPbPB resultPbPB = MPPush.bind(getApplicationContext()
, PushMsgService.mUserId, PushMsgService.mAdToken);
}
为什么会提示不让在主线程调用啊!展开评论点赞