[PAID] Onesignal Push - Implement OneSignal push notification in your apps

I tested the extension today, I have something that does not come. Can you help?

Edited after further testing 2023-02-11

After adding this extn. to the existing project, the app crashes everytime there is a onesignal message sent. Push_notification component is removed already. Now need to figure out which of the component is not compatible.
Feels like I just purchased an additional headache.

So, finally I bought this extension after a long wait as I was expecting Kodular to fix their issue. Apperently, they are sleeping on it

While testing, I found out few things.

Things work

  1. You should not use inbuilt push_notification component with this extn as the app crashes.
  2. No issue found yet with firebase component.
  3. If the app is just closed, you receive notification from onesignal.
  4. Send tag works
  5. Notification with url is working, for some reason the app crashed earlier. Will test more to understand the scenario.

Things which dont work (maybe because I am testnig on Android 9 and Android 13)

  1. OnSubscribed event doesnot work
  2. Notification Received event doesnot work
  3. If you kill the app, the notification will not be received. Developer claims it does.
  4. Set Email property doesnot work
  5. Ask Permission does nothing even if I disable the notification.
  6. ActionButtonClicked event is working but giving empty json dataset.
  7. NotificationOpened event is working but giving empty json dataset.

Still to test on other dev interface like ai2, etc. Will update once I have tested it.

Hope this helps others in deciding if they want to purchase the extn or not. my 2 cents, it is not worth with so many open issues.

Mohan

2 Likes

That is if your android phone is Android 12+ OS.

It does not work for Android 9 too if the app is killed

1 Like

Ok, Then the developer should look into this.

This might be because of this bug

Taifun

Could be, will test in other interface

hello sumit,

After using your extension the app is crashing even without sending any notification. Yes, i have removed kodular’s inbuilt component of push notification. When i tried to send the notification no notification was recieved on the device.


Please tell me how do i fix it ?

to help the author fix the problem, you might want to provide additionally

  1. the device and Android version you are using for your tests
  2. did you try another device / Android version?
  3. a screenshot of your relevant blocks

Taifun

Hello,

I’m having an issue with permission on Android 13. The app never shows the dialog asking for it after installation. And in the OneSignal dashboard, I see subscriptions from Android 13 users with status as “Permission Not Granted”.

Tried this in the Initialize block:
image

And the other way around:
image

I can get notifications to work properly if I go in the phone settings for the applications and manually set it to allow for my application.

I’ve searched the community but didn’t find a post of this exact same problem. Would anyone please point me to a solution for this?

Thank you in advance.

Is it working perfectly now? I want to buy it

Mine is working good, the paid version, but i cannot get the icon working, i dont see a bell, i dont see any icon, only a squir with white inside, can some one please help me with this

1 Like

event when notification opened is not working. Please help

Please reply @iamwsumit You are online.

Onesignal Push v1.5.0 [Most Stable]

The new very stable update of onesignal push is here.

I am listing here all the changes done from the very initial version to the latest version.

Added

  • Small Icon property has been added showing custom small icons now.

    image

  • UnsubscribeWhenNotificationsAreDisabled property has been added.

    image

  • SMS property has been added.

    image

  • Notification permission changed event has been add, this event raises whenever user enable/disable the notification from settings.

    image

  • Disable push has been added to unsubscribe the user.

    image

  • Open the custom screen with custom start value on notification click.

    image

  • Returns true if the notification of the app is enabled.

    image

Points

  • This extension works in all latest android devices (12,13 etc.), you can ask for a demo APK before purchasing.
  • You can not ask the notification permission again if it’s denied once, user has to manually enable it later. If your app target SDK 33 then you can ask this permission whenever you want.
  • Same file will be used in all builders with firebase auth and ad manager component.
  • I don’t guarantee about the working of this extension with other extensions, a custom version of the extension is required for this purpose which I can make paid, if I already have the custom version for an extension then I would provide it for free.
  • You must remove the inbuilt push notification component while using this extension.
  • This extension can’t be used with FCM together.
  • All bugs (up to now) related to the extension have been solved, there is not any currently known bug, if you are facing any problem then ask me personally.
  • Notifications are received even when the app is closed.
  • There is no problem in publishing the app to the play store with this extension.
  • You can only use this extension with one kodular account.
  • All events and functions of the extension work as they should, if you can’t make work then something is wrong in your side.
  • Small icon property requires min SDK 23, it would not show small icon below SDK 23 devices.
  • You can generate small here from here.

Bug Fixed

  • NotificationReceived event was not working.
  • NotificationOpened event crash whenever empty data was passed.
  • OnSubscribed event was not working.
  • AskPermission block was doing nothing.
  • Causing duplicate meta error while publishing to play store.
  • SendNotificationToUserIds was not working.

Screenshots

Notification works in all android devices with custom small icon.

Android 12

Android 13

Notification Permission in Android 13

Downloads

This version is now out on the AI2 Store.

Download Link : AI2 Store
Deep Link: Onesignal Push


Credits

Thanks @Lollipop and @ashishlambat5 for testing the extension.


Thank you
Sumit :wink:

2 Likes

Open screen on click not working i tested

Notification will only launch your custom activity when the app is closed. If your app is opened and you clicked the notification then your current activity will be resumed and no new activity will be launched. However, NotificationOpened event will be triggered on that current activity.

2 Likes

Hello everyone this extension not working for AdmobAds Extension made by @JEWEL

developer - @iamwsumit and @JEWEL
I think no one should buy extensions from these two developers if you want both features in your application.

It can happen, that 2 extensions are not compatible. . These 2 developers could add a note in their documentation about this incompatibility

Taifun