Hello! I compiled my app for Android with API 27 and noticed that notifications are not coming to the tray anymore. API’s older than that work ok. The payload from the notification comes to the app, so the notification itself works, but doesn’t show up in the tray. I then read this from android.com: “Starting in Android 8.0 (API level 26), all notifications must be assigned to a channel or it will not appear.”
How can I assign a channel in the payload/app to make the notification appear in the tray?
@aeq What changes need to be made for the notifications to be shown in Android 8.0 (API level 26) and above ? Just taking last version of fuselibs or something more ?
I read that notification channel need to to be created for Android 8.0 (API level 26) and above… How to create notification channel in fusetools for my app ?
Unfortunately, my pull request hasn’t been reviewed and accepted into fuselibs yet, so its not available with latest fuse release.
How you can use my version is by pointing your project to use a downloaded version of fuselibs, then override the Fuse.PushNotifications folder in the src with mine. Note, after any changes to that fuselibs, you will need to run uno doctor in your project dir. Here’s a tut you can follow: Oct 2018 - How to update to latest Fuselibs and Uno
You would just need fuselibs from step 1, step 3, overriding Fuse.PushNotifications with mine and step 5.
@aeq One last question, did I need last version of fusetools(1.10.0) ? Now I have 1.8.2 Did I need to update it or be cause it is used fuselibs it is doesn’t matter the version of fusetools ?