Hello everyone, as we know since kodular last update push notification component stopped working after target SDK to 30. So from many days I am trying to solve this issue and today finally I solved it and all works fine now I think. This extension fix the one-signal subscription issue by some SDK updates. This is an empty extension mean it has no blocks. It just do the SDK thing in our apps and help onesignal to use the FCM library. It may have some issue with other components or extensions. I am releasing this extension so users can test it and can report the bugs here and I will try to fix them. User subscription and notification are working very well. I only tested this thing due to lack of time and resources.
So lets see how we have to use the extension in order to fix onesignal issue.
How to Use
You have to do nothing with this extension as It is a empty extension.
Just import the extension and drag it to screen1 and you are done with it
OneSignal.init(context) is called by Kodular Push Notification on its constructor to initialize the OneSignal. It seems that it’s failing to initialize due to an issue.
Yes you can just check the Logcat of your APK while these error are raised or post it here so I can take a look into it.
I receive the notification in foreground as well as in background. There maybe something wrong in your side. You should check the logcat while sending notification in background if there is some issue then they will be shown in logcat.