Push notification messages are not received on iPhone when sent from appery - iphone

I have created an ionic app that can receive push notifications in Appery. I am getting the success code block executed and the device DB get updated with the device id.
But the notification is not received on device, but the status shows as sent !!

For Ionic you should call PushRegisterDevice Service when your app starts,
see https://docs.appery.io/docs/pushnotifications-quickstart-tutorial-ionic
You should see the deviceId of your phone added to Devices collection
For iPhone you should have a valid iOS certificate for push notifications with .p12 extension, it should be uploaded to Appery at Push Notifications page for your project, Settings > iOS settings

Related

How To Send Firebase Push Notification from one app to another app connect to same project

How To Send Firebase Push Notification from one app to another app connect to same project
I have Used http to send notification to specific device using token but i am unable to send to another app
I have Two App with Same Firebase project
One is Admin And Other is client
I want to send push notification from client app to Admin is this possible if yes than how.
When you have two apps installed on a single device, each of them will have a different FCM token, regardless of whether they part of the same Firebase project. So you can send a message to a specific app by sending it to the token for that app.

Send push notification when the app is auto updated

I saw some apps send me notifications when the app is auto-updated by the Apple app store. We're building an app with Flutter. Is it possible to send a push notification to notify users when the app is auto-updated?

How to send notification to all users when new version is uploaded in appstore?

I want to send notification to all user when application is release in appstore without using push notifcation.Is there any method I can notify to my users.
there is no way to send notification to alert user with out APNS or socket (backround running ). with out APNS, you can check only when the app is opening and call an apple API or your api for getting latest app version and then you can trigger a local notification .

IBM MobileFirst Push Notification in IPhone - when the app is closed, pushNotificationReceived method is not triggering for the received notification

I am developing an application for IPhone, where I have to store all the notifications coming to the app using JSON Store.
In IBM Mobilefirst Push Notifications API, pushNotificationReceived is triggered when any notification is received in the app. So using this method, I can able to store the notifications in JSON Store.
When the app is closed [Not running in the background], the notification is successfully sent to the device.
But when I open the application by clicking the received notification, pushNotificationReceived method is triggering only for the notifications received when the app is closed.
Is this the default behavior of IBM MobileFirst?
If so, is there any work around to solve this issue.
I have seen that there are native API's available for handling the received notifications. Is that the only way to solve this?
Or Is there any native listener available only for receiving the notifications when the app is closed?
If tapping the notification in the Notification Center, the pushNotificationReceived should be called.
If tapping the app icon after a notification was received, the pushNotificationReceived API will not be called.
This is the expected behavior in iOS.
If (1) is not working for you as well, I suggest that you will test the sample Hybrid app to see whether it works for fails for you there as well - it should work: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/notifications/push-notifications-overview/push-notifications-in-hybrid-applications/event-source-notifications-in-hybrid-applications/

will push notifications work if user has neither allowed nor "not allowed" push notifications for my app yet?

I am currently updating my App, and I am planning on including Push notifications.
The main purpose for my push notification is to let users know that the app has been updated and they should check out the new features. Now with iOS7 automatically updating apps, users are less likely to open apps after they have been updated, let alone KNOW it has been updated. As a lot of users will just clear their notification centre's with out paying any attention.
So my question is...if a user has not launched my app yet to see the alert "[myApp] would like to send you Push Notifications" - Don't Allow / OK.
Will they see my push notification before they have had chance to allow or not allow?
Do push notifications work until "not allowed" has been pressed? Or do they not work until OK has been pressed???
Thanks for your help.
If they never launched your app, your app never registered to Apple Push Notifications on their device, so you can't send them push notifications.
In addition, your server is not likely to have the device token for a device in which your app was never launched (since it's the app's job to send the device token to your server).
And if you push a notification to a device token of a device on which your app never registered to push notifications, the notification won't be delivered (even if the app is installed on the device), and that device token will eventually be returned to you in the feedback service.