apple-push-notifications

iOS APNS through Amazon SNS and Unity - Cannot create a development iOS certificate

a 夏天 提交于 2019-12-22 08:15:46
问题 I'm trying to set up push notifications through Amazon SNS in Unity. I have the Android side of things working perfectly but we're having issues with iOS. I am able to get the device to register to a Apple Production SNS application and subscribe to a topic but as soon as I attempt to send a notification the endpoints "Enabled" status becomes "False". I read that this could be due to the certificate being set as Production although we followed the instructions on creating a Development

iOS APNS through Amazon SNS and Unity - Cannot create a development iOS certificate

半世苍凉 提交于 2019-12-22 08:15:13
问题 I'm trying to set up push notifications through Amazon SNS in Unity. I have the Android side of things working perfectly but we're having issues with iOS. I am able to get the device to register to a Apple Production SNS application and subscribe to a topic but as soon as I attempt to send a notification the endpoints "Enabled" status becomes "False". I read that this could be due to the certificate being set as Production although we followed the instructions on creating a Development

iPhone Newsstand push registration Failure

谁说胖子不能爱 提交于 2019-12-22 08:09:52
问题 // Register for notifications [[UIApplication sharedApplication] registerForRemoteNotificationTypes:( UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeNewsstandContentAvailability)]; This is the code I use for registering for registering for push notifications. The app registers for Alert, Badges, Sound. But the app did not register for the newsstand push notifications. Checked it in

What happens to the APNS Certificate when revoking the distribution Certificate

会有一股神秘感。 提交于 2019-12-22 07:36:51
问题 I am new to the APNS certificate thing. My question is a old developer lost our Private Key which we used for several in-house (ad-hoc) applications, and an application we use to push out applications and policies to users. I know that the only way to get the private key is to revoke the certificate and then generate a new one and re-sign all the internal applications and re-deploy with the new cert. My only concern is what happens to the application that uses APNS, does this still use the

How secure are apple APNS push notifications?

大城市里の小女人 提交于 2019-12-22 05:06:34
问题 Does anyone know where the vulnerabilities are in Apple's APN push notification services? We can ensure that our notifications are sent securely to Apple, so we just need to know whether they can be intercepted from that point? Motivation: We have built an iOS messaging app that we are making as a 100% secure solution, with some features that have never been exploited before in security. 回答1: Apple released the UNNotificationServiceExtension last year, allowing developers to send fully

iOS - Handling Silent Push Notifications When App Is Force-Quit By User

荒凉一梦 提交于 2019-12-22 04:48:22
问题 I am currently facing a problem with push notifications in iOS. My app receives silent push notifications containing an identifier. This identifier is then used to fetch data from a remote server from which a local notification is created. As far as I'm aware, if the user has force-quit an app (i.e. by double tapping the home button and swipe closing the app) then the silent push notification does not get passed onto the didReceiveRemoteNotification method in the AppDelegate class [1] [2],

APN Production certificate not being recognized by PushSharp

↘锁芯ラ 提交于 2019-12-22 03:15:11
问题 I've developed an iOS app, that receives Push Notifications. I'm sending them from a .NET environment using PushSharp. Everything went beautifully while developing, and the Pushs were successfully sent: var push = new PushBroker(); var appleCert = File.ReadAllBytes(@"Utils\Cert.Development.p12"); push.RegisterAppleService(new ApplePushChannelSettings(false, appleCert, "*******")); push.QueueNotification(new AppleNotification() .ForDeviceToken(token) .WithContentAvailable(1) ); push

How to listen for notification dismissed event in iOS?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 01:43:43
问题 I am listneing to actions pressed for my local notifications, but is there a way to determine when the user dismisses a notification? Here is how I'm listening to my actions in my AppDelegate, but the dismiss doesn't fire this: func application(application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, completionHandler: () -> Void) { var actionName: String? = nil if let identifier = identifier { switch identifier { case

iOS sending push with APNs Auth Key: suddenly “403 Forbidden: {”reason“:”InvalidProviderToken“}”

夙愿已清 提交于 2019-12-22 01:26:49
问题 I'm sending my push notifications with an APNs Auth Key ("never expires") which worked well until suddenly I get 403 Forbidden: {"reason":"InvalidProviderToken"} as a response when sending push notifications. What could be the reason for this when it worked once and suddenly it doesn't without having an expiration date? In the meantime it worked again for some pushes, but now I get the error again... Did anyone else experience this? EDIT Not sure but it seems as if this only happens on the

How to reliably and efficiently read all error responses from Apple Push Notifications Server in a Java Server?

时光毁灭记忆、已成空白 提交于 2019-12-22 00:11:35
问题 I am researching server side development of Apple Push Notifications in Java. I am using the enhanced format, in order to detect failed messages and resend messages that follow bad messages. I know that Apple to not guarantee the delivery of Push Notifications, but I wish to be able to know whether Apple received my messages and whether the contained any errors. I noticed that when I try to send an invalid message (invalid device token, too large payload, etc...) to Apple, I can send several