Hello,
I have an Ionic v3 app using Firebase and Onesignal for notifications, and when the FB database gets updated, it sends a notification (using Cloud Functions) to the device via OneSignal, but only the title shows, not the body. By the way, it’s on an Android 7.1.1 emulator (as well as a Nexus 6 phone).
Here’s a sample payload sent to the device …
data:{
title: 'The title',
body: 'The content goes here'
}
The notification only shows “The title”, not “The content goes here”. I replaced “body” with “message”, still no luck. Any ideas?
Also, handleNotificationReceived() doesn’t seem to fire when a notification is received. I have it set up in app.component.ts.
Thanks.