Comments (7)
Thank you for details @dericksa,
We'll try to check the other reported bug as well, but I'm not yet sure when. We'll provide you updates on this thread.
BR,
Tereza
from mobile-messaging-react-native-plugin.
Hi @dericksa we released 3.0.3 version with fix for java.lang.IllegalArgumentException: Receiver not registered
BR,
Olga
from mobile-messaging-react-native-plugin.
We are also facing this:
Caused by java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:461)
at org.infobip.mobile.messaging.mobileapi.MobileApiResourceProvider.getGenerator(MobileApiResourceProvider.java:201)
at org.infobip.mobile.messaging.mobileapi.MobileApiResourceProvider.getGenerator(MobileApiResourceProvider.java:191)
at org.infobip.mobile.messaging.mobileapi.MobileApiResourceProvider.getMobileApiAppInstance(MobileApiResourceProvider.java:132)
at org.infobip.mobile.messaging.MobileMessagingCore.installationSynchronizer(MobileMessagingCore.java:1899)
at org.infobip.mobile.messaging.MobileMessagingCore.setCloudTokenUnreported(MobileMessagingCore.java:973)
at org.infobip.mobile.messaging.MobileMessagingCore.setCloudToken(MobileMessagingCore.java:677)
at org.infobip.mobile.messaging.cloud.RegistrationTokenHandler.sendRegistrationToServer(RegistrationTokenHandler.java:35)
at org.infobip.mobile.messaging.cloud.firebase.FirebaseRegistrationTokenHandler.handleNewToken(FirebaseRegistrationTokenHandler.java:37)
at org.infobip.mobile.messaging.cloud.MobileMessagingCloudHandler.handleNewToken(MobileMessagingCloudHandler.java:69)
at org.infobip.mobile.messaging.cloud.MobileMessagingCloudHandler.handleWork(MobileMessagingCloudHandler.java:49)
at org.infobip.mobile.messaging.cloud.MobileMessagingCloudService.onHandleWork(MobileMessagingCloudService.java:119)
at org.infobip.mobile.messaging.platform.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:413)
at org.infobip.mobile.messaging.platform.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:404)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
from mobile-messaging-react-native-plugin.
Hi @dericksa,
The first issue java.lang.IllegalArgumentException: Receiver not registered:
is affecting only our RN plugin (Android platform). We'll provide a fix for it in the upcoming week. Thanks for reporting it.
The second issue is related to the native Android SDK and we did have it reported long time ago (but with different stacktrace), did changes that silenced this particular issue, and we were unable to reproduce it later on. Your example log is related to our library trying to fetch application code to authorize backend call after we got a new token from Firebase as far as I see from your logs.
Could you please provide us more details about it:
- how do you provide app code to our SDK?
- which devices experience this bug?
- what OS versions?
- were you able to reproduce it yourself?
- how often does this bug happen in your app (some percentage of devices)?
BR,
Tereza
from mobile-messaging-react-native-plugin.
@tjuric Hello, thanks for replying:
We get the appCode from AppConfig, which gets from an env file.
const appCode: string = AppConfig.mobileMessageAppCode;
export const init = () => {
mobileMessaging.init(
{
applicationCode: appCode,
ios: {
notificationTypes: ['alert', 'badge', 'sound']
}
},
() => {
logDebug('MobileMessaging started');
},
error => {
logDebug('MobileMessaging error: ', error);
}
);
};
-
and 3. There are different devices with different OS versions experiencing it:
Redmi Note 9 Pro, GalaxyA71, GalaxyS10e - Android 10
Galaxy S10 - Android 11
Galaxy J7 - Android 6.0.1 -
We were not able to reproduce it
-
Since we launched, it happens 1-5 times a day
from mobile-messaging-react-native-plugin.
Hi @dericksa,
We've released MM RN plugin version 3.1.1 with a few bug fixes on Android. We've fixed cases that we've noticed in our code related to your reported issue.
Please, try it out and update us on the new status.
BR,
Tereza
from mobile-messaging-react-native-plugin.
I'll close this one cause we've released a fix for this particular case. If you encounter it again, feel free to reopen this one.
from mobile-messaging-react-native-plugin.
Related Issues (20)
- Runtime crash - React Native Huawei HOT 3
- Runtime Crash on Android Prod Releases HOT 12
- Runtime exception for Android OS v12+ HOT 24
- The following build commands failed: HOT 1
- Does infobip/mobile-messaging-react-native-plugin supports react-native 0.70 version? HOT 5
- Crash issue on SDK version 7.0.3 & 8.0.0 HOT 7
- Cannot receive tapped notification event when app is closed HOT 5
- Pods completion on Xcode15 HOT 7
- Uninstall events are not being recorded HOT 4
- Every time an user installs an app update, a new installation is registered in his profile. HOT 2
- Push notifications conflicts HOT 2
- hide notification in foreground HOT 2
- [ITMS-91053: Missing API declaration] Apple issue review HOT 4
- Push Notification on iOS Devices Not Received HOT 1
- Deep Link Handling in Notifications HOT 13
- messageReceived Library Event on iOS Devices Not Triggering HOT 4
- Combining Push Notifications with In-App Notifications HOT 4
- Chat Widget Notification Crashing Android App HOT 3
- Build iOS fail HOT 2
- Notification Delivery Issue on Android 13+ with Outdated React Native Version HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobile-messaging-react-native-plugin.