apple-push-notifications

Must I use HTTP/2.0 to send Apple Push Notifications? May I use libcurl?

家住魔仙堡 提交于 2020-01-13 08:51:06
问题 This question, as you may have inferred from the title, is really two questions in one. First Question: Must I use HTTP/2.0 to send Apple Push Notifications? On the APNs Provider API documentation provided by Apple, the opening paragraphs specify: The provider API is based on the HTTP/2 network protocol. There are several other references to HTTP/2.0 throughout the documentation. However I don't see (which is not to say it's not there) anything specifying that HTTP/2.0 must be used. Does this

What is the file with .p8 extension? (APNs Auth Key / JWT)

可紊 提交于 2020-01-13 03:39:17
问题 I think it is a little ridiculous but it's hard to find information about what is this file. I've found a lot info how to get this Apple Push Notification Authentication Key , but i also want to know exactly what is it. Here is some info i have found: Benefits: No need to re-generate the push certificate every year; One auth key can be used for all your apps; Same for sandbox and Production. From Apple Docs: Token-based provider connection trust: A provider using the HTTP/2-based API can use

iOS Push notifications not working on for ad hoc distributions with Test Flight

我的未来我决定 提交于 2020-01-12 14:50:19
问题 Having a bit of a weird issue... In my AppDelegate.m I have the following: -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackTranslucent animated:NO]; // Override point for customization after application launch. // Enable test flight reporting; https://testflightapp.com/sdk/doc/0.8.3/ [TestFlight takeOff:@"myTestFlightToken"]; // Let the device know we want to

What are the steps in implementing Apple Push Notification?

痴心易碎 提交于 2020-01-12 07:38:06
问题 I am new to this topic and require some guidance in implementing Apple Push Notification in my application. I have created my appID and also configured Apple Push Notification for the same. I have downloaded the provisioning profile and installed the app on the iphone. I have also written the following code provided by Apple documentation - (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)devToken { const void *devTokenBytes = [devToken bytes];

Flutter: Push notifications even if the app is closed

杀马特。学长 韩版系。学妹 提交于 2020-01-12 03:13:25
问题 I have built an application with flutter that works like a reminder. How can I display notifications to the user even though the app is closed? 回答1: For reminders i would recomend Flutter Local Notifications Plugin. It has a powerful scheduling api. From the documentation of local notification: Scheduling when notifications should appear - Periodically show a notification (interval-based) - Schedule a notification to be shown daily at a specified time - Schedule a notification to be shown

How do you test the Push Notification feedback service?

柔情痞子 提交于 2020-01-12 02:07:49
问题 How would you test the APNS feedback service in the sandbox? Or in other words, how do you force a device to be in the feedback? 回答1: I think that from the initial round of question "Yes bu how do you get something to show up there? " actually came from the fact that, his tests were not returning any device, i.e., even though he may have had notifications successfully sent to the iPhone/iPad, whenever he queries the FB server, nothing came back, precisely because the app was never removed

How do you test the Push Notification feedback service?

纵然是瞬间 提交于 2020-01-12 02:03:23
问题 How would you test the APNS feedback service in the sandbox? Or in other words, how do you force a device to be in the feedback? 回答1: I think that from the initial round of question "Yes bu how do you get something to show up there? " actually came from the fact that, his tests were not returning any device, i.e., even though he may have had notifications successfully sent to the iPhone/iPad, whenever he queries the FB server, nothing came back, precisely because the app was never removed

Custom Apple Push Notification Server vs Urban Airship and likings [closed]

我怕爱的太早我们不能终老 提交于 2020-01-11 17:32:22
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I need to implement the push notifications for one of my projects. Some of the possibilities I evaluated are: building my own APN

Custom Apple Push Notification Server vs Urban Airship and likings [closed]

青春壹個敷衍的年華 提交于 2020-01-11 17:30:07
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I need to implement the push notifications for one of my projects. Some of the possibilities I evaluated are: building my own APN

How to use the device token in method other than didRegisterForRemoteNotificationsWithDeviceToken?

冷暖自知 提交于 2020-01-11 11:08:46
问题 I got the device token through didRegisterForRemoteNotificationsWithDeviceToken method. I wanted to use the device token in another method. I tried it in this way, In didRegisterForRemoteNotificationsWithDeviceToken method: str = [NSString stringWithFormat:@"%@",deviceToken]; // str is the NSString which is declared in the appDelegate.h file as global variable In didReceiveRemoteNotification method: NSLog(@"Device Token : %@",str); When i do like this the Device Token is returning as "nosniff