dengage-tech / dengage-react-sdk

MIT License
3 stars 3 forks source link

Android 14 support #11

Open cumali-demir opened 4 months ago

cumali-demir commented 4 months ago

Hi java.lang.SecurityException: com.borusan.evcommunity: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts at android.os.Parcel.createExceptionOrNull(Parcel.java:3057) at android.os.Parcel.createException(Parcel.java:3041) at android.os.Parcel.readException(Parcel.java:3024) at android.os.Parcel.readException(Parcel.java:2966) at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:5668) at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1852) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1792) at android.app.ContextImpl.registerReceiver(ContextImpl.java:1780) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755) at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755) at com.reactnativedengage.DengageModule.registerNotificationListeners(DengageModule.kt:277) at java.lang.reflect.Method.invoke(Native Method) at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:149) at com.facebook.jni.NativeRunnable.run(Native Method) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:234) at java.lang.Thread.run(Thread.java:1012)

i am getting this error. i think you update android code in "@dengage-tech/react-native-dengage/android/src/main/java/com/reactnativedengage/DengageModule.kt"

reactApplicationContext.currentActivity?.registerReceiver(notifReceiver, filter) reactApplicationContext.currentActivity?.registerReceiver(inappReceiver, inappFilter)

hasnainTanvir commented 4 months ago

@cumali-demir hi

we are working on couple of things

we will be releasing new version most probably today or tomorrow

thanks

cumali-demir commented 4 months ago

thank you so much. Are you working on expo support?

hasnainTanvir commented 4 months ago

@cumali-demir hi which version are you using currently of the dengage package?

FurkanKayaDev commented 4 months ago

@hasnainTanvir Hi, I'm using dengage version 1.0.2 in my project. when I create a new version and try to upload it to Play console, i get this warning.

image

com.google.android.play:core is only used in the dengage library in my project. should I wait for the update or is there something I can do?

hasnainTanvir commented 4 months ago

@FurkanKayaDev please update to 1.0.6

with android dependency 6.0.62.x

and ios with 5.63.x

this includes all the fixes

FurkanKayaDev commented 4 months ago

thank you!