收藏
回答

Android微信注册Permission Denial ?

问题详情:

Permission Denial: receiving Intent { act=com.tencent.mm.plugin.openapi.Intent.ACTION_HANDLE_APP_REGISTER flg=0x2010 (has extras) } to com.tencent.android.qqdownloader/com.tencent.kidprotect.BootReceiver requires com.tencent.mm.permission.MM_MESSAGE due to sender com.chinasky.teayitea (uid 11007)

清单文件中写有:

<receiver
    android:name=".AppRegister"
    android:permission="com.tencent.mm.permission.MM_MESSAGE">
    <intent-filter>
        <action android:name="com.tencent.mm.plugin.openapi.Intent.ACTION_HANDLE_APP_REGISTER" />
    </intent-filter>
</receiver>


请问这个应该怎么解决?

回答关注问题邀请回答
收藏

1 个回答

  • 悟
    2021-03-18
    weChatApi = WXAPIFactory.createWXAPI(this, AppConstants.WECHAT_APP_ID,true);
    weChatApi.registerApp(AppConstants.WECHAT_APP_SIGNATURE);
    上面的问题是在调用第二句代码造成的。
    使用情景:在stripe上集成微信支付,微信开放平台上的签名和包名可以确定没问题;在stripe平台上开通了微信支付功能,但是在微信开放平台上没有开通微信支付。
    我想问的是,是否要使用stripe上面的微信支付功能,必须先在微信开放平台上开通微信支付?
    
    2021-03-18
    有用
    回复
登录 后发表内容
问题标签