apple-push-notifications

Apple Push Notification Collapse Key Equivalent

橙三吉。 提交于 2019-12-03 04:55:05
When using Google push notifications, I am allowed to specify a collapse_key value so a device will not receive multiple notifications of the same collapse_key. Does APNS have a similar feature or does anyone know a way to emulate this functionality? There is no such feature in iOS. However, since push notifications are sent by a server that is in your control, you can keep track of which notifications you've sent to a particular device, and decide whether or not to send new ones. In other words, you put the logic in your server code, not your iOS app code. Doody P As of iOS 10 and using the

Is there any cost for using Push Notification Service? [closed]

折月煮酒 提交于 2019-12-03 04:24:50
Is there any cost for using the Push Notification Service? I know it requires using my own server to send notifications, but the signals are passed through an Apple server. There are no server transfer fees? No, there is no cost. The only "gotchas" are that your app has to be in the app store(i.e. no jailbroken apps), and you have to maintain a server for pushing the events. Tim Courtney If you are building you own push server, which you mention above, there are hosting expenses and the cost of time to set up and administer it. Alternatively, you can use a service like iLime ( www.ilime.com) ,

aps-environment is always development

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 04:02:28
问题 I have created the app id with APNS enabled and I configured both development and production certificate Now when I create entitlements it is always displaying development even If I change the Provisioning profile to iTunes deployment also the entitlements is displayed as development <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>aps-environment</key> <string

Is it possible to implement iPhone push notifications in a Google App Engine application?

寵の児 提交于 2019-12-03 03:49:23
问题 I'm in the planning phase of an iPhone application and am considering using Google App Engine for my server component due to its scalability features. Push notifications are sent using a binary interface to gateway.push.apple.com:2195 . However, the JRE for the server is only allowed to use the following standard classes, which does not include the Socket classes. Can URLConnection be used somehow to do this? Is there a way to implement push notifications given the restrictions on Google App

iOS 9: How to detect when user said 'Don't Allow' to the push notification request? [duplicate]

蹲街弑〆低调 提交于 2019-12-03 03:49:20
问题 This question already has answers here : Callback Method if user declines Push Notification Prompt? (10 answers) Closed 2 years ago . In iOS 9, is there a system level callback I can read which tells me whether the user has tapped on 'Don't allow' on the push notification request? I prompt the user with a custom screen informing them about push notifications and the value it has in my app. They have two choices, yes or no. If they select Yes, I request the operating system for push

IOS Push Notifications to specific users?

梦想与她 提交于 2019-12-03 03:46:51
Is possible to send an iOS push notification to a specific device? I've built a forum type app which the user can create a question and other people can answer it. I need to send an iOS Push Notification to the specific user which asked the question informing them that the question was answered. Is this possible to be done through PHP or another method? Yes, you can absolutely send a push notification to a specific device. First you need to ask the device for permission to receive push notifications: [[UIApplication sharedApplication] registerForRemoteNotificationTypes:

Anyone using Node.js with Amazon SNS and Apple Push Notifications?

那年仲夏 提交于 2019-12-03 03:45:44
问题 I'm looking for examples of using node.js with Amazon SNS and Apple APN push notifications. We use Amazon for our hosting, and I have used SNS before, it's pretty simple. But the examples they have for push notifications are for java, and there is no examples for Node. It's confusing, as usual with them, and I'm hoping to cut my research and time spent short. It can't be that hard. I'm also wondering how they deal with errors, and the differences between the sandbox and production. Apple

Are iPhone's apps notifications going to be triggered on the Apple Watch by default, without even creating an actual Watch app?

烈酒焚心 提交于 2019-12-03 03:29:28
I would like to support my iPhone's app Local Notifications in the Apple Watch from the very first moment the Watch is released, but I don't plan on building a Watch App yet. From what I researched, it seems like iPhone's notifications will be automatically supported on the Watch, without needing any additional development or WatchKit implementation. Apps are not required to do anything to support notifications. The system provides a default notification interface that displays the alert message from the notification. However, apps can customize the notification interface and include custom

How to send a push notification using Erlang?

混江龙づ霸主 提交于 2019-12-03 03:13:53
问题 I'm trying to send a push notification to APNs using Erlang. This is the code I came up with so far: -module(apnstest2). -export([connect/0]). connect() -> application:start(ssl), ssl:seed("someseedstring"), Address = "gateway.sandbox.push.apple.com", Port = 2195, Cert = "/path/to/Certificate.pem", Key = "/path/to/Key.unenc.pem", Options = [{certfile, Cert}, {keyfile, Key}, {mode, binary}], Timeout = 1000, {ok, Socket} = ssl:connect(Address, Port, Options, Timeout), Token =

Amazon SNS Mobile Push - how to bulk subscribe endpoints to a topic?

与世无争的帅哥 提交于 2019-12-03 02:18:40
I am trying to move my existing iOS push notification infrastructure over to amazon SNS mobile push. I exported all my tokens from my local db into an SNS application (using CSV). Now I want to send push notification to all my 10,000 users. I think the only way is to create a topic and subscribe all the users to that topic then publish message to that topic. Is there any easy way to subscribe all the 10,000 users who I have imported into the system to a topic? Thanks for any help! It sounds like you have created the Amazon SNS Platform Application and imported your tokens as Amazon SNS