Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Did not show notification in status bar for Xiomi Redmi Note 3 #790

Closed
aishahismail opened this issue Apr 8, 2016 · 6 comments
Closed

Comments

@aishahismail
Copy link

Device details:
MIUI version - MIUI 7.0

I created Ionic project using this plugin for push notification. The notification is received but did not show in status bar. I already test in other devices with different model and brand and everything is okay. Thank you.

@yesnoj
Copy link

yesnoj commented Apr 8, 2016

i've problem with my Galaxy Note 3, the method :
push.on('notification', function(data) {
// ecc ecc ecc
});
is never executed.Instead on iPhone 6s works perfectly... :/
I can see the notification in the status bar,but anything else...very strange

@ericb
Copy link
Contributor

ericb commented Apr 8, 2016

@aishahismail : You may need to set forceShow: true in the plugin config options. For reference, you also need to call register on each app load.

@yesnoj You're likely not getting the notification at all. you should check your message statuses.

@ericb ericb closed this as completed Apr 8, 2016
@aishahismail
Copy link
Author

Did you mean by putting forceShow: true in a init?

var push = PushNotification.init({
    android: {
        senderID: "12345679",
        forceShow: true
    },
    ios: {
        alert: "true",
        badge: "true",
        sound: "true"
    },
    windows: {}
});

Thanks

@macdonst
Copy link
Member

@aishahismail check issue #707. It's the way the phone's OS handles pushes, not the plugin.

@yesnoj
Copy link

yesnoj commented Apr 11, 2016

How can i read the message statuses?I don't have any error in consolle.The notification appears correctly on the status bar,but i cannot see any log on consolle about push.on('notification', function(data) {
// ecc ecc ecc
});
Any help?
Another thing, if i generate notification from my server,i have an object (additionalData) with all the fields, the notification arrives but i can't see on the status bar (iOS),is becouse there isn't a notification object witch include the previous additionalData object?

@lock
Copy link

lock bot commented Jun 4, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants