Closed sanaddfffrnt closed 1 week ago
Hello, see https://documentation.onesignal.com/docs/android-notification-categories#from-the-rest-api
and
https://documentation.onesignal.com/reference/push-channel-properties#appearance
Note that it may not work depending on the device + 0S you're testing on (see https://github.com/OneSignal/OneSignal-Android-SDK/issues/878#issuecomment-546139084)
Hello, I'm working on displaying Android notifications as banners/bubbles instead of just in the notification drawer. I attempted to set the android_channel_id in our REST API to the OneSignal dashboard's Channel Id value, but it caused issues with notifications appearing in the drawer.
Drawer:![image](https://github.com/OneSignal/onesignal-expo-plugin/assets/138372096/a0940f88-6883-460f-b61b-c6b65d7d9f66)
Banner/bubble:![image](https://github.com/OneSignal/onesignal-expo-plugin/assets/138372096/c627dca3-a3dc-4b7f-a685-dbd9ba50494d)
Could someone please provide a clear example of how to configure this in the REST API? The documentation isn't providing enough clarity.
Here is the sendPushNotification function