apple-push-notifications

Not Getting Push Notification for Production Certificate

半城伤御伤魂 提交于 2019-12-12 06:28:11
问题 I have read many answers on this topic but issue not resolved by suggested solutions. My issue is that I am not getting Push Notifications for Production Certificate. Same Push Notifications are successfully getting in Development certificate. I specially want to say that my device tokens for production and development environment is entirely different. So there is no issue for same device token. Also, i am using different profiles for both. Means to say, there is not configuration issue on

Apple Push Notification not working with ad-hoc build not on development

末鹿安然 提交于 2019-12-12 06:27:21
问题 In development mode I can send push notification to devices, instead I can't in production, my setup is: --> I have downloaded aps_production.cer certificates from provisioning portal and then double click the aps_production.cer installed keychain access finally get the private key from keychain access at that time it asked password i have given some password like "admin". --> openssl pkcs12 -in CertificateName_pro.p12 -out CertificateName_pro.pem -nodes --> apple server apn: 'gateway.push

How can I register user's ios device for receiving push messages from place other than AppDelegate?

为君一笑 提交于 2019-12-12 05:38:23
问题 Currently in my appDelegate in didFinishLaunchingWithOptions I'm calling the following methods: let notificationTypes: UIUserNotificationType = [UIUserNotificationType.alert, UIUserNotificationType.badge, UIUserNotificationType.sound] let pushNotificationSettings = UIUserNotificationSettings(types: notificationTypes, categories: nil) application.registerUserNotificationSettings(pushNotificationSettings) application.registerForRemoteNotifications() I also have the following methods implemented

iOS empty Firebase Push notification doesn't show up

拈花ヽ惹草 提交于 2019-12-12 05:30:44
问题 I'm having a weird problem with Firebase notification on iOS. It works perfectly but the only problem is if I keep the 'body' parameter on the server empty it does play notification sound on the app but doesn't show anything. Same thing displays notification on Android. Is it some kind of Apple security that I'm running into? if I only add an empty space " " in 'body' it would show up but nothing without it. If any body could suggest me anything please. my server side code $msg = array (

APNS: Invalid token causes all subsequent push notifications to fail

好久不见. 提交于 2019-12-12 04:44:08
问题 I'm using the Sly PHP Push Notification library, but the same thing happens whether I send all my push notifications completely manually, without the library (like in the script below). If there is an invalid token in my SQL database and I attempt to send a push to that token, I am disconnected from ssl://gateway.push.apple.com:2195 and all the subsequent tokens do not receive the push. How can I either spot invalid tokens and remove them from my database, or continue to send out pushes after

How to wake up when the app has been updated?

那年仲夏 提交于 2019-12-12 04:33:35
问题 I did contact the Apple Developper Technical Support and they answer me that " No, there are no APIs that will tell you that an app has been updated. " However, I really need to wake up my app when the user update it to last version. Because my push notification system has changed in the last version and the user must be registered to the new platform in order to continue to receive notifications. To register the user, the app should launch. Does anyone know how I could do that ? Some of my

Can't receive push notification in iOS?

混江龙づ霸主 提交于 2019-12-12 04:32:28
问题 Im trying to send notification with IBM mobile first 8 but i can't receive notification in IOS . The deviceId is well registered to IMF server But when i try to test and send notification from server to my app .the notification is not received . I used this doc : https://github.com/MobileFirst-Platform-Developer-Center/PushNotificationsCordova/blob/release80/www/js/index.js I can receive notification in Android . Thank you for your helps. 回答1: You only point to the javascript file, not to the

Update Passbook wallet failed to connect

旧城冷巷雨未停 提交于 2019-12-12 04:16:21
问题 i'm struck with update wallet push notiifcation,i used bellow code,server not connected error. I missed any credentials.please help to me ,fix this issue. I registered my passbook and get back pushtoken to server. this key same as the passbook generate certificate key. $certifile = 'passbook/certificates/AppleWWDRCA.pem'; $passphrase = 'xxxxxxxx'; $trust =''; $url = 'ssl://gateway.push.apple.com:2195'; $ctx = stream_context_create(); stream_context_set_option($ctx, 'ssl', 'local_cert',

How to implement Urban Airship for Push notification in iPhone?

故事扮演 提交于 2019-12-12 04:12:52
问题 I'm trying to use urbanairship push notification. But while creating instance of UAirship, it is showing error that UAirship is undeclared.i have implemented urbanairship upto http://urbanairship.com/docs/apns_test_client.html#prerequisite and after then i do not know what should i do ? Waiting for response. Thanks. 回答1: Have you included UAirship.h and UAPush.h ? 回答2: I got something similar just now. Might not be the same problem, but there seems to be a massive bug in the UA library - a

Handle the remote notification for chat application in iOS

前提是你 提交于 2019-12-12 03:59:48
问题 Hi, BACKGROUND I am buidling a chat messaging applicaiton and I faced problem to handling push notificaton when user receiving message from the sender.IV ACHIEVE Like Whatsapp does, after I received the push notification and I turned on the airplane mode, I still can see the message contains while I open the app. so, I believe it has get the message while receiving the notification. PROBLEM I cannot find a good way to handle the remote chat message push notification when user open the app