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

魅族MX3 M351 收不到推送 #37

Open
471448446 opened this issue Sep 20, 2018 · 3 comments
Open

魅族MX3 M351 收不到推送 #37

471448446 opened this issue Sep 20, 2018 · 3 comments

Comments

@471448446
Copy link

注册成功并收到的pushID,但是推送就是收不到,
{code='200', message=''}pushId='UU34b4f7e565f5e540a74497d4859636706424c7a5a53', Become invalid after 604800 seconds }
按文档上添加了对应的权限,以及action

    <!-- 兼容flyme5.0以下版本-->
    <uses-permission android:name="com.meizu.flyme.push.permission.RECEIVE" />
    <uses-permission android:name="${applicationId}.push.permission.MESSAGE" />
    <!--  兼容flyme3.0配置权限-->
    <uses-permission android:name="com.meizu.c2dm.permission.RECEIVE" />
    <uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />

    <permission
        android:name=${applicationId}.push.permission.MESSAGE"
        android:protectionLevel="signature" />
    <permission
        android:name="${applicationId}.permission.C2D_MESSAGE"
        android:protectionLevel="signature" />
        <receiver android:name=".pushserver.meizu.MeiZuPushMsgReceiver">
            <intent-filter>
                <!-- 接收push消息 -->
                <action android:name="com.meizu.flyme.push.intent.MESSAGE" />
                <!-- 接收register消息-->
                <action android:name="com.meizu.flyme.push.intent.REGISTER.FEEDBACK" />
                <!-- 接收unregister消息-->
                <action android:name="com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK" />
                <!-- 兼容低版本Flyme3推送服务配置 -->
                <action android:name="com.meizu.c2dm.intent.REGISTRATION" />
                <action android:name="com.meizu.c2dm.intent.RECEIVE" />

                <category android:name="${applicationId}" />
            </intent-filter>
        </receiver>
@AoEiuV020
Copy link

同,这种冷门推送,估计官方都不想用,

@AoEiuV020
Copy link

找到问题了,人家有两个推送平台,“flyme集成推送平台”和“flyme推送平台”,
这个demo只能收到后者“flyme推送平台”,http://push.meizu.com

@471448446
Copy link
Author

找到问题了,人家有两个推送平台,“flyme集成推送平台”和“flyme推送平台”,
这个demo只能收到后者“flyme推送平台”,http://push.meizu.com

确实是集成的flyme推送平台就是魅族推送平台,不是集成的魅族集成推送平台。
这个是针对魅族系统的推送,所以在魅族系统上推送到达率、展现率还是要高于其他推送平台的,也并不冷门。
出现问题的手机是魅族MX3收不到推送,只是这手机年代比较就有,官方估计并不想维护了。

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