Creating .pem file for APNS?
How do I create a .pem file to be stored in the hosting server for APN payload data? 11 Answers 11
How do I create a .pem file to be stored in the hosting server for APN payload data? 11 Answers 11
When trying to register for push notifications under iOS 8.x: application.registerForRemoteNotificationTypes(UIRemoteNotificationType.Alert | UIRemoteNotificationType.Badge | UIRemoteNotificationType.Sound) I get the following error: registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later. Any ideas what is the new way of doing it? It does work when I run this Swift app on iOS 7.x. EDIT On iOS 7.x … Read more
I’m looking for a way to determine if the user has, via settings, enabled or disabled their push notifications for my application. 19 Answers 19
I am triggering a background fetch by using the content-available flag on a push notification. I have the fetch and remote-notification UIBackgroundModes enabled. Here is the implementation I am using in my AppDelegate.m: – (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler { NSLog(@”Remote Notification Recieved”); UILocalNotification *notification = [[UILocalNotification alloc] init]; notification.alertBody = @”Looks like i … Read more
I tried and tried to generate a .pem file, every time generating certificates from the client’s account and then generating the .pem file using the terminal, but it’s of no use. Can anyone give a step-by-step procedure? 7 Answers 7
I have created certificate to enable Push Services in my app, but every time I try to add certificate in my Keychain, after adding certificate it shows me following error: This certificate has an invalid issuer 13 s 13 If you got here from the Fastlane then this snippet might fix your CI deployments. Execute … Read more