apple-push-notifications

Enable/Disable Apple Push Notification from iPhone app?

廉价感情. 提交于 2019-11-27 12:47:08
I have one more doubt on APNS . That is when the app first launch the app asks for Apple Push Notification Permission if the user accepted the they can receive the notifications. If the user cancelled they can't receive any notifications. Am I clear?? Now my doubt is, At first time if the user cancelled the push notification service from the app (Clicked Cancel button) again after some days if they want receive Apple Push Notification it is possible to enable the Apple Push Notification again for the particular user from the App. And if the user accept the apple push notification service first

IP Address ranges for APNS servers? [closed]

跟風遠走 提交于 2019-11-27 12:31:25
Does anyone have a complete list of all IP addresses used by the Apple Push Notification Service? I know that Apple uses a content delivery network to spread out these requests, and DNS lookups will return servers close to the requestor's location - the problem I have is in locating all of these servers that handle content for the United States. For example: $ nslookup gateway.push.apple.com Non-authoritative answer: canonical name = gateway.push-apple.com.akadns.net. Address: 17.172.238.216 Address: 17.172.238.224 Address: 17.172.238.226 etc. This list changes every time I query DNS - but all

Enabling Apple Push Notifications for ad hoc distribution environment

本秂侑毒 提交于 2019-11-27 12:28:12
问题 I have successfully implemented APN for development Environment. But i am facing problems while implementing the same for ad-hoc distribution environment. Can anybody please suggest me do i need to create different App Id , Certificate and Provisioning Profile for that? And is there any change in Sandbox? A tutorial of steps will be very much appriciated. Thanks Saleel Karkhanis 回答1: For Adhoc distribution, Please follow the instructions below: In Provisioning Portal, Create a Distribution

Google/Apple Push Notification Service (APNS/GCM)

霸气de小男生 提交于 2019-11-27 12:22:04
问题 I'm trying to create application for Android and iOS and I want to use push notification on both the application. I'm going to have a server app that will be sending the notification. What I'm trying to figure out is how we can store the device of the user so I'll know which service need to be used APNS or GCM. One of the directions is to get the phone type to be set by the app and store this information on the server side, but what happens if the user changes his phone from iOS to Android,

Testing Apple Push Notifications Feedback - no items received

我怕爱的太早我们不能终老 提交于 2019-11-27 12:02:56
问题 How to test feedback.sandbox.push.apple.com? Everything goes right, but I receive empty list. How to make it consider the device token as inactive? I installed the application to iPhone using Xcode, received some push notifications, then removed it from iPhone and send some more notifications. But even on the next day feedback.sandbox.push.apple.com returns just empty set. 回答1: I far as I found, Apple push notification feedback service doesn't work properly on sandbox mode. You should try it

Get the Push-Notification list on iOS8

拈花ヽ惹草 提交于 2019-11-27 11:48:33
问题 Is it possible to get the text of all the received push notifications on iOS 8? Has anyone found something on the documentation provided by Apple? I know that the notification list can be obtained using a bluetooth device, but I'd like to get it locally. 回答1: Its very simple try this in Xcode6: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { //-- Set Notification if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0) {

Couldn't able to connect to APNS Sandbox server

百般思念 提交于 2019-11-27 11:46:29
问题 I am trying to connect to Apple APNS server with the following observations: 1)port 2195 is open 2)With Valid key passphrase for APNS_SSLCertificate_Key.pem 3)Entrust certificate (2048) downloaded from https://www.entrust.net/downloads/binary/entrust_ssl_ca.cer 4)With the successful telnet response as below : $ telnet gateway.sandbox.push.apple.com 2195 Trying 17.172.232.226... Connected to gateway.sandbox.push-apple.com.akadns.net. Escape character is '^]'. But when i run the following

Apple Push Services created instead of Apple Production iOS Push Services

£可爱£侵袭症+ 提交于 2019-11-27 11:32:39
问题 I'm trying to create a certificate for Production iOS Push Services. Instead I get an Apple Push Services . How can I create a dedicated Apple Production iOS Push Services certificate? The top certificate is what I used to get. The bottom one is what I now get. I use Pusher application to test my push notifications certificate and it cannot read the p12 of the new Apple Push Services. 回答1: Apple have changed the name of the certificate that is issued. You can now use the same certificate for

Missing Push Notification Entitlement warning

℡╲_俬逩灬. 提交于 2019-11-27 11:25:24
We have created an App ID, distribution certificate and provisioning profile. Push Notifications were not initially enabled. We now need to implement Push Notifications in the app. We have enable Push Notifications in the App D, check the provisioning profile, the provisioning profile was invalid, updated it, and downloaded the latest provisioning profile to use it for next time. We then integrate the APIs for Push Notifications via APNS in our code. After uploading the app in iTunesConnect, we get the following email from Apple: Dear developer, We have discovered one or more issues with your

Push Notifications not being received on iOS 10, but working on iOS 9 and before

删除回忆录丶 提交于 2019-11-27 11:22:16
I have several apps that were written in Swift 2.2, compiled with Xcode 7.3 and is live on the App Store. The apps utilize Push Notifications and is working fine in iOS 9.3 and earlier. On devices that have been upgraded to iOS 10, however, my apps don't receive any Push Notifications. Devices that are still running iOS 9 are still receiving notifications. Thinking it might be a certificate or entitlement issue, I have tried the following: Upgraded one of my apps to Swift 2.3, added the APS Environment Entitlement and compiled it in Xcode 8 but this made no difference. In my AppDelegate I