apple-push-notifications

APNS (Apple Push Notification Service) reliability

限于喜欢 提交于 2019-11-26 07:28:20
问题 Our app uses APNS to receive Push Notifications. However, our client claims that some of their devices were not receiving notifications and argues to they \'must\' make sure the notifications to be delivered 100%. But I have read somewhere that APNS is not 100% reliable and there should be cases which the notifications are not delivered. I\'m currently panic at how we could make sure APNS to received anytime. I have read that a case which may APNS not delivered (device may offline). But our

Renew Push certificate and keep current App Store App working

醉酒当歌 提交于 2019-11-26 06:57:54
问题 I have an app on app store, which is using an iOS Provisioning Profile (Distribution) which is expired. This Profile contains Push Certificate that\'s also expired (and does not appear anymore in the portal). Question 1 : Is there a way to recreate the push certificate and then renew the profile? (I still have the push certificate (expired) on my keychain)? Question 2 : Do I need to re-submit the app to app store with a new profile that contains the new Push certificate? Since the push

How can a web application send push notifications to iOS devices? [closed]

两盒软妹~` 提交于 2019-11-26 06:56:18
问题 I\'m working on a web app. How can I send push notifications to iOS users when there is new content? 回答1: To be more specific, in order for a web application to send push notifications to a mobile device, such as the iPhone, the mobile device must have registered to receive push notifications for a particular application. The registration for push notification is done through a native app and can only be performed through a native app. Once the native app is registered for push notification,

App rejected because of “Missing Push Notification Entitlement”

余生颓废 提交于 2019-11-26 06:33:44
问题 Recently my application got rejected while uploading it. The Apple review team says my app is \"Missing Push Notification Entitlements\" This is the information they have provided: Missing Push Notification Entitlement - Your app registers with the Apple Push Notification Service, but the application signature\'s entitlements do not include the required \"aps-environment\" entitlement. Make sure you have enabled Push Notification Services for this app, and that you have downloaded a

why didRegisterForRemoteNotificationsWithDeviceToken is not called

穿精又带淫゛_ 提交于 2019-11-26 06:16:57
问题 I am making an application in which I want to implement apple push notification service. I am following the step-by-step instructions given in this tutorial. But still, the methods are not called. I don\'t know what is causing the problem. Can anyone help me? - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { //NSString * token = [[NSString alloc] initWithData:deviceTokenencoding:NSUTF8StringEncoding]; NSString *str =

“verify error:num=20” when connecting to gateway.sandbox.push.apple.com

此生再无相见时 提交于 2019-11-26 05:55:48
问题 I am attempting to run the Ray Wenderlich tutorial found at Apple Push Notification Services in iOS 6 Tutorial: Part 1/2. I created an AppID and SSL certificate and keys and PEM files in a local directory. Afterwards, I got to the step to test whether the certificate works, and I invoked the following command from this local directory: $ openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert PushChatCert.pem -key PushChatKey.pem This produced a lot of output. In the middle of the

Callback Method if user declines Push Notification Prompt?

眉间皱痕 提交于 2019-11-26 05:35:59
问题 My problem is I want to show a loading screen for the initial Push Notification Prompt \"The app wants to send you push notifications.\" So if the user hits yes I can proceed and start the app in the then invoked delegate methods: - (void)application:(UIApplication*)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken { [self hideLoadingScreen]; } - (void)application:(UIApplication*)application didFailToRegisterForRemoteNotificationsWithError:(NSError*)error {

Remote Notification iOS 8

三世轮回 提交于 2019-11-26 04:59:28
问题 How can I get the Device Token for remote notification in iOS 8? I used the method didRegisterForRemoteNotificationsWithDeviceToken in AppDelegate in iOS < 8, and it returned the device token. But in iOS 8, it does not. 回答1: Read the code in UIApplication.h. You will know how to do that. First: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions add Code like this if ([application respondsToSelector:@selector

Making GCM work for iOS device in the background

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-26 04:42:02
问题 I\'m trying to use GCM for IOS and Android clients. It seems to work fine with IOS when app is in the foreground, however, when the app is in the background, the notification center doesn\'t receive the message and didReceiveRemoteNotification with completionHandler doesn\'t get called. I identified a problem as a wrongly formatted message from GCM to APNS. Namely, that\'s how it looks: [message: New message, collapse_key: do_not_collapse, from: **************] While, the IOS push

Sending multiple iPhone push notifications + APNS + PHP

假如想象 提交于 2019-11-26 04:10:22
问题 I am working on a PHP website + iPhone application and API for iPhone application, has a messaging system for students and doctors, when any one sends message (from website or iPhone) the other user should get push notification on his iphone. For example if student adds a new question for teacher, a push notification on teachers iPhone/iPad will be send to teacher and when teacher replies to student\'s answer, student will get a push notification. Since there is no restriction on number of