-
Notifications
You must be signed in to change notification settings - Fork 26
Push notification in iOS not working using IONIC 2 cordova phonegap push plugin #212
Comments
Same here, for some time I haven't been able to receive push notifications. I'm building my app via Ionic Package, so I'm suspecting that maybe Ionic Package doesn't perform the XCode configuration described in http://docs.ionic.io/services/push/#faq |
Update: I manually built for iOS on a Mac, and first the Push Notifications Capability (refer to my previous comment) was indeed OFF. After setting up my Apple ID, and dev. Team and restarting Xcode, the capability was ON. I think this happens by default now for subsequent builds |
@K1N5L4Y3R so it means IONIC push notification can be fail if I want to send urgent notification on specific time. Any how did you start receiving push notification in iOS devices? |
Yes. I can receive notifications now
On May 24, 2017 10:42 PM, Gurjit-ONEBCG <[email protected]> wrote:
@K1N5L4Y3R<https://github.com/k1n5l4y3r> so it means IONIC push notification can be fail if I want to send urgent notification on specific time. Any how did you start receiving push notification in iOS devices?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#212 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AB_rPc95CziH5fw6yKpzR_30z6eT6b3eks5r9PibgaJpZM4Nidz1>.
|
@K1N5L4Y3R Can you please tell me that, is it true that we can not receive push notification on iOS devices which are not registered on our ituneaccount ? |
As mentioned, I was not able to receive push notifications until I performed the steps I mentioned (manually configuring the capabilities in Xcode)
On May 25, 2017 10:17 PM, Gurjit-ONEBCG <[email protected]> wrote:
@K1N5L4Y3R<https://github.com/k1n5l4y3r> Can you please tell me that is it true that we can not receive push notification on iOS devices which are not registered on our ituneaccount ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#212 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AB_rPbQnqwboGWo58UDwxMGLG17cN215ks5r9kRXgaJpZM4Nidz1>.
|
I followed that in Xcode. After sending push from iclould I didn't receive any push. |
Hi, I have the same issue, can anyone please explain how he solved it? |
@revetevra I moved with this [https://www.djamware.com/post/58a1378480aca7386754130a/ionic-2-fcm-push-notification] |
I am reciving Push-Notifications but the event And I don't know how to debug this because I can't access the logs of the App while in Prod-mode |
@Blackscr33n As it fires only one we click on push notification. You can use alert(data) under subscribe of notificaiton() to test |
I know that I can do this. But this event never gets fired. That was what I mean with never gets fired |
We are also hitting the same issue here. Local build works fine, ionic package build does not work. |
Hi everyone, I was facing a lot of push issues on iOS, and trying the find the root cause was frustrating. I use that tool to send the push notification https://github.com/noodlewerk/NWPusher and I honestly thank the guy who produced NWPusher |
Because I get the Notification displayed @gladiacxtylish |
From https://docs.ionic.io/services/push/ If you're using the latest version of Xcode, you will likely need to activate the Push Notifications capability before your app is able to receive notifications. To do this, simply navigate to the Capabilities section in your app's overview within Xcode and toggle Push Notifications, as seen below. But how can I switch on push notification capabilities section in ionic package build (cloud build)? |
@Blackscr33n -- Did you find any solution? I am also stuck on the same issue. |
Use FCM, it worked for me. I can guide you if you stuck while using FCM |
I have implemented FCM in my ionic2 app. It is working very fine for android. But I am not able to get notification in IOS. |
@kanak-infoObjects do followings |
"Generate auth key in your itune developer account" |
@kanak-infoObjects |
Still not working. Do I need to make any specific changes for IOS because android is working very fine for me. |
@kanak-infoObjects follow this tutorial Instead of .p12 use auth key in FCM console Let me know if you are still get stucked somewhere. |
Thanks for the tutorial. It worked for me. I have been trying a lot to schedule local notification in case of app in foreground by using "cordova-plugin-local-notifications" its working fine in android but it is not working for ios again can you please help how to do it ?? |
@kanak-infoObjects |
Thanks for your detailed tutorial, we have followed the same steps what is mentioned in the link except heading 4 as we are using node.js for sending push notification instead of ionic. When we trigger notification from the application and FCM console, we are able to receive it for android but for ios its not receiving. We are able to retrieve the FCM token for ios and the permission has enabled but its not working. Could you help me how to fix the issue? Thanks |
From @Gurjit-ONEBCG on May 22, 2017 6:23
Ionic version:
2.23
Cordova version
7.0.1
I'm submitting an issue which is related to IONIC PUSH NOTIFICATION using cordova phonegap plugin
Current behavior:
In android working fine eg. getting push notification. But in iOS do not get the notification, but in alert I see the generated token.
Expected behavior:
iOS devices should get the notification as well
Related code:
Other information:
I believe I have properly created security certificates which I have uploaded to app.ionic profiles
and all other steps followed very carefully.
Copied from original issue: ionic-team/ionic-framework#11746
The text was updated successfully, but these errors were encountered: