infobip / mobile-messaging-react-native-plugin

Mobile Messaging SDK plugin for React Native projects
24 stars 4 forks source link

Runtime crash - React Native Huawei #48

Closed imkrishh closed 1 year ago

imkrishh commented 1 year ago

React Native Infobip for Huawei app crashes in release build after update of mobile-messaging-react-native-plugin v6.3.3

mobile-messaging-sdk-huawei v2.2.3

Fatal Exception: java.lang.RuntimeException: Could not invoke ReactNativeMobileMessaging.init
       at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:383)
       at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151)
       at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java)
       at android.os.Handler.handleCallback(Handler.java:900)
       at android.os.Handler.dispatchMessage(Handler.java:103)
       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
       at android.os.Looper.loop(Looper.java:219)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
       at java.lang.Thread.run(Thread.java:929)

React Native - 0.65.1

riskpp commented 1 year ago

Hi @imkrishh, we support only iOS and Android platforms for React Native right now. And we've released update for mobile-messaging-sdk-huawei with support of AndroidX - https://github.com/infobip/mobile-messaging-sdk-huawei/releases/tag/3.0.0-rc1, but I'm not sure how do you plan to use it together..

quantumarun commented 1 year ago

@riskpp We currently have the native code for Infobip Huawei Implementation which was done in collaboration with Infobip Team somewhere around 2019. Now this is causing issue in upgrading the Infobip version. How can we take this forward.

tjuric commented 1 year ago

Hi @quantumarun, If there is any custom implementation made, we're unable to help you out in Github. This Github repo is for the plugin itself, not for things that we don't support officially within the plugin.

Please, contact our support department over support@infobip.com and attach this thread with the details (that you have some custom implementation done with us and you need assistance in updating our library).

I'll close this issue.

BR, Tereza