Open
Description
I was using android OneSignal SDK 4.8.10 and was setting user email like
OneSignal.setEmail(
"[email protected],
object : EmailUpdateHandler {
override fun onSuccess() {
Timber.i("Email sent to OneSignal successfully")
}
override fun onFailure(error: EmailUpdateError) {
Timber.e("Onesignal sent email error " + error.message)
}
}
)
Now I am upgrading my OneSignal SDK to 5.1.28 which is the latest and setting user email like
OneSignal.User.addEmail("[email protected])
I am using API to send push notifications based on the email filter below
{
"app_id": "{{APP_ID}}",
"contents": {"en": "Test Notification"},
"filters": [
{
"field": "email",
"value": "[email protected]"
}
]
}
I get a notification in my Android device when the build is created via the old version which is 4.8.10
But when I run build from the updated version i.e 5.1.28, I do not get any notification
I want to send notifications based on email
Any help
Metadata
Metadata
Assignees
Labels
No labels