hbuilder php通知推送_使用unipush,配置厂商推送 ,在透传消息中 intent:设置不理解...

使用unipush,配置厂商推送 ,在透传消息中 intent:设置不理解

透传消息

intent:

示例:intent:#Intent;component=你的包名/你要打开的 activity 全路径;S.parm1=value1;S.parm2=value2;end

要怎么设置呢 /你要打开的 activity 全路径; 我要怎么填写呢

intent:#Intent;action=android.intent.action.oppopush;launchFlags=0x14000000;component=你的包名/io.dcloud.PandoraEntry;S.UP-OL-SU=true;S.title=测试标题;S.content=测试内容;S.payload=test;launchFlags=0x14000000;end

这个设置不行 求 大佬 帮忙解决

intent:#Intent;action=android.intent.action.oppopush;launchFlags=0x14000000;component=io.dcloud.HBuilder/io.dcloud.PandoraEntry;S.UP-OL-SU=true;S.title=测试标题;S.content=测试内容;S.payload=test;end

其中io.dcloud.HBuilder为APP包名,需要替换为自己APP的包名;

S.title=的值为推送消息标题,对应5+ API中PushMessage对象的title属性值;

S.content=的值为推送消息内容,对应5+ API中PushMessage对象的content属性值;

S.payload=的值为推送消息的数据,对应5+ API中PushMessage对象的payload属性值;

launchFlags=0x14000000字段,解决接收多条通知后点击可能无法触发click事件的问题

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值