apple-push-notifications

PushSharp Apple - The message received was unexpected or badly formatted

霸气de小男生 提交于 2019-11-27 16:11:10
问题 I am using version 2.1.2 of PushSharp. The app is .NET 4.5.1 (although I have also tried targeting .NET 4.5 and .NET 4) I am trying but not succeeding to send push messages through the sandbox Apple APNS. I am successfully sending messages using a PHP script provided here on Ray Wenderlich's walkthrough using the same certificate and sending to the same device ID as for my PushSharp app. I have tested by exporting the completed cert as p12 from the key chain. Exporting the completed cert and

How to test Apple Push Notifications Feedback Service?

一个人想着一个人 提交于 2019-11-27 15:22:34
问题 What I did as a test is following: I made example app where I enabled push notifications and implemented mechanism for handling them. I was testing sending of silent push notifications to my app with curl and that works pretty well. I am testing that with: curl -v -d '{"aps":{"content-available":1}}' --cert "/Users/me/Desktop/mycert.pem":"" -H "apns-topic:com.domain.name" --http2 https://api.development.push.apple.com/3/device/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Push notification not receiving on iphone

自作多情 提交于 2019-11-27 15:08:06
问题 I am using this tutorial to learn push notification. <?php // Put your device token here (without spaces): $deviceToken = '1675ba8bb005740bb514222227f861c30230a81e6eed6bb6b8f353c57831341d'; // Put your private key's passphrase here: $passphrase = '111134'; // Put your alert message here: $message = 'My first push notification!'; //////////////////////////////////////////////////////////////////////////////// $ctx = stream_context_create(); stream_context_set_option($ctx, 'ssl', 'local_cert',

Building for iOS if registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later

≡放荡痞女 提交于 2019-11-27 14:38:07
问题 If there are breaking changes with how devices register for notifications, and we cannot use registerForRemoteNotificationTypes: anymore, how can we build a new version of the app to support iOS 8 if we cannot use Xcode 6 beta? Will we have to build and submit the day the Xcode 6 GM version is released for our users to continue to get push notifications? 回答1: iOS 8 has changed notification registration. So you need to check device version and then you need to register notification settings.

Update Badge Number when push notification is received when App is not Open

可紊 提交于 2019-11-27 14:01:23
问题 I have an App in which i am facing the issue that the badge number only gets updated when i open the notification but i need to update the badge number even when app is not open. Can anyone help me with that?? 回答1: You need to set a value for the badge key in your push notification payload. From your description, it sounds like it is only your application which is updating the badge number, and not the notification itself. See The Notification Payload of the Local and Push Notification

PushSharp APNS production: The credentials supplied to the package were not recognized (development works fine though)

让人想犯罪 __ 提交于 2019-11-27 13:55:16
My app just got ready for sale on App Store, but none of my production devices (devices that have installed the app from App Store) are getting push notifications. When I try to send a push notification to a production device, I am getting this error: "The credentials supplied to the package were not recognized" (System.ComponentModel.Win32Exception) This exception is internally thrown and caught in an infinite loop: It is thrown at line 539 of ApplePushChannel.cs file: try { stream.AuthenticateAsClient(this.appleSettings.Host, this.certificates, System.Security.Authentication.SslProtocols

Firebase: Cannot upload production APNs certificate

不问归期 提交于 2019-11-27 13:25:01
I am currently testing an app in TestFlight and need a production APNs certificate in order to test Notifications in Firebase. I have followed all of the steps in this video and successfully configured the development APNs certificate: https://www.youtube.com/watch?v=LBw5tuTvKd4 I've also checked that my steps following the Firebase support guide. Although I note that the Apple Developer site has changed slightly since this guide was written: https://firebase.google.com/docs/cloud-messaging/ios/certs#configure_an_app_id_for_push_notifications I have generated a production APNs certificate at

Are push notification tokens unique across all apps for a single device?

喜夏-厌秋 提交于 2019-11-27 13:17:00
问题 I will have multiple applications on the app store and 1 urban airship account to send push notifications to all of these devices. What I want to know is if each Apple device has the same "push token" across all applications? This is more of a database architecture thing so that I don't duplicate a push token many times if one single device uses many of my apps. If each Apple device generates a unique push token for each application it has installed my architecture needs to change. 回答1:

apple push notification not working in production

帅比萌擦擦* 提交于 2019-11-27 13:10:04
We are totally stucked, please help. I and my team made a iPhone application, and this is the first time we try on iOS. Everything is fine, until we submitted our app and became available on app-store -- the push notification service is not working. I searched around the web and tried double check on our app by people's advices, but I couldn't find what's wrong. so this question is posted here. These are what we did: We build the application, suppose it's named "AppMaster". We created AppId on iOS Provisioning Portal called: "pushtest". This ID enabled the Push Notification on both development

apple push notification limitation

岁酱吖の 提交于 2019-11-27 13:09:37
I'm wondering if there is a limit to the number of apple push notifications we can send to users at one time ? in other words, can i send 100,000 push notifications at once using the APNS service? Luis Ascorbe If you are sending multiple notifications to the same device within a short period of time, the push service will send only the last one. https://developer.apple.com/library/content/technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376-CH1-TNTAG23 Look "Some Notifications Received, but Not All" in that documentation. Apple's Tech Note was recently updated to address this question