compile 33, targetsdk 35,运行在android 14的系统上面崩溃:
One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
分析原因应该是android 14 系统上面注册广播的时候必须用下面三个参数的方法
public abstract Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, @RegisterReceiverFlags int flags);
但是在weex 的0.30.2版本中WXSDKInstance类的onActivityCreateff中registerReceiver用了两个参数的方法:
try {
this.getContext().registerReceiver(this.mGlobalEventReceiver, new IntentFilter("wx_global_action"));
} catch (Throwable var2) {
Throwable e = var2;
WXLogUtils.e(e.getMessage());
this.mGlobalEventReceiver = null;
}
请问有weex android sdk的最新版本是什么版本呢,有解决这个问题吗
compile 33, targetsdk 35,运行在android 14的系统上面崩溃:
One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts分析原因应该是android 14 系统上面注册广播的时候必须用下面三个参数的方法
public abstract Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, @RegisterReceiverFlags int flags);但是在weex 的0.30.2版本中WXSDKInstance类的onActivityCreateff中registerReceiver用了两个参数的方法:
try {
this.getContext().registerReceiver(this.mGlobalEventReceiver, new IntentFilter("wx_global_action"));
} catch (Throwable var2) {
Throwable e = var2;
WXLogUtils.e(e.getMessage());
this.mGlobalEventReceiver = null;
}
请问有weex android sdk的最新版本是什么版本呢,有解决这个问题吗