帖子
帖子
用户
博客
课程
1234下一页
返回列表 发新帖
9
帖子
0
勋章
193
Y币
3.7.1现在能正常使用了

但上架检测还是不通过:

存在频繁自启动或关联启动的行为。

/io.rong.push.rongpush.PushReceiver action=android.intent.action.ACTION_POWER_CONNECTED

融云官方当初回复说是在4.X 、5.1.8.、5.1.9/5.3.0改了,我看模块也更新到了官方sdk3.5.0,可还是同上一样的问题

请问这个要怎样才能解决?
9
帖子
0
勋章
193
Y币
情人的花朵 · 2022-11-11 15:063.7.1现在能正常使用了

但上架检测还是不通过:

下载了融云官方的5.3.0
  1. <!-- push 相关事件接收器 -->
  2.         <receiver
  3.             android:name="io.rong.push.rongpush.PushReceiver"
  4.             android:exported="true"
  5.             android:process="io.rong.push">   <!-- 此处进程可以改名,名称需要和PushService所在进程统一 -->
  6.             <!-- 心跳事件和网络切换事件监听,必须 -->
  7.             <intent-filter>
  8.                 <action android:name="io.rong.push.intent.action.HEART_BEAT" />
  9.                 <action android:name=**.**.conn.CONNECTIVITY_CHANGE" />
  10.             </intent-filter>

  11.         </receiver>
复制代码


里面已经没有
  1. <intent-filter>
  2.                 <action android:name="android.intent.action.USER_PRESENT"/>
  3.                 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
  4.                 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
  5.             </intent-filter>
复制代码


使用模块打包出为还是有上面这个android.intent.action.ACTION_POWER_CONNECTED
0
帖子
0
勋章
2
Y币
您好,问题解决了吗?我也遇到同样的问题了,提了好几次了
0
帖子
1
勋章
1640
Y币
本帖最后由 模块技术支持-L 于 2022-11-15 14:47 编辑
BIP456163 · 2022-11-15 11:57您好,问题解决了吗?我也遇到同样的问题了,提了好几次了

已经发布了,重新试下
9
帖子
0
勋章
193
Y币
模块技术支持-L · 2022-11-15 14:44已经发布了,重新试下

刚试了一下,还是没解决这个问题

AndroidManifest.xml 里还有这一段,其它都更新了,估计就模块里这个文件没更新
  1. <intent-filter>

  2.                 <action
  3.                     android:name="android.intent.action.USER_PRESENT" />

  4.                 <action
  5.                     android:name="android.intent.action.ACTION_POWER_CONNECTED" />

  6.                 <action
  7.                     android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
  8.             </intent-filter>
复制代码
9
帖子
0
勋章
193
Y币
情人的花朵 · 2022-11-15 18:18刚试了一下,还是没解决这个问题

AndroidManifest.xml 里还有这一段,其它都更新了,估计就模块里这个文件没更新

不知道是不是我没把问题说明白,也不知道有没有更便捷点的沟通方式,实在难呀
0
帖子
1
勋章
1640
Y币
情人的花朵 · 2022-11-15 19:00不知道是不是我没把问题说明白,也不知道有没有更便捷点的沟通方式,实在难呀

用的是最新版本么? 现在最新版应该是 3.7.1
9
帖子
0
勋章
193
Y币
模块技术支持-L · 2022-11-16 10:42用的是最新版本么? 现在最新版应该是 3.7.1

刚又打包了apk,AndroidManifest.xml里面还是有
  1. <receiver
  2.             android:name="io.rong.push.rongpush.PushReceiver"
  3.             android:exported="true"
  4.             android:process="io.rong.push">

  5.             <intent-filter>

  6.                 <action
  7.                     android:name="io.rong.push.intent.action.HEART_BEAT" />

  8.                 <action
  9.                     android:name=**.**.conn.CONNECTIVITY_CHANGE" />
  10.             </intent-filter>

  11.             <intent-filter>

  12.                 <action
  13.                     android:name="android.intent.action.USER_PRESENT" />

  14.                 <action
  15.                     android:name="android.intent.action.ACTION_POWER_CONNECTED" />

  16.                 <action
  17.                     android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
  18.             </intent-filter>
  19.         </receiver>
复制代码


融云官方的最新sdk 下面这个是去掉了的,现在整个项目上架就卡在这个自启动上上

  1. <intent-filter>

  2.                 <action
  3.                     android:name="android.intent.action.USER_PRESENT" />

  4.                 <action
  5.                     android:name="android.intent.action.ACTION_POWER_CONNECTED" />

  6.                 <action
  7.                     android:name="android.intent.action.ACTION_POWER_DISCONNECTED" />
  8.             </intent-filter>
复制代码
0
帖子
1
勋章
1640
Y币
情人的花朵 · 2022-11-16 11:30刚又打包了apk,AndroidManifest.xml里面还是有



已经更新了,勾选最新版本,重新打包
9
帖子
0
勋章
193
Y币
模块技术支持-L · 2022-11-16 18:42已经更新了,勾选最新版本,重新打包

问题解决了
1234下一页
您需要登录后才可以回帖 登录

本版积分规则