apple-push-notifications

EasyAPNS: Has anybody tried it with large amounts of notifications?

…衆ロ難τιáo~ 提交于 2019-12-06 15:28:37
I implemented EasyAPNS in my app and server and currently have a database with 2000+ registered devices. Today I tried to send notifications to all of these devices and the script timed out. I checked the code (should've done it earlier, I know) and I discovered it opens a connection for each message . Basically this thing will never work and will get my IP banned, right? How's it even possible that this problem is not mentioned anywhere in the Google group ? Apparently nobody tried this library with a lot of notifications -- can this be real? Or am I missing something? I ended up rewriting a

APNS sandbox Connection failed error '0' in php file?

荒凉一梦 提交于 2019-12-06 14:18:25
问题 Am trying to send Apple Push Notifications to my app. Am following this tutorial for the APNS process. URL: http://www.raywenderlich.com/3525/apple-push-notification-services-tutorial-part-2. I have done almost work in MAMP, PHP and i have mentioned my .pem file in pus_config.php file for APNS connection. I have tested my .pem file with simplepush.php file and i sent notifications to my device. Now am trying with push.php file which was taken from the above tutorial. This is my push_config

azure notification hubs - app uninstall

随声附和 提交于 2019-12-06 13:52:10
I would like to use Azure Notification Hubs to send push notifications to users of my app running across iOS, Android and Windows Phone. I have managed to get the basics working but I don't know how to manage the App uninstall story. On starting, the mobile app will call my Identity Svc to get an Auth Token. It then calls its Platform Notification service (eg Google Cloud Messaging, APNS) to get a PNS Token. After persisting the token to local storage it will call a back-end Contact Svc to register the customer's device. This service will create a subscription to the Azure Notification hub for

Apple Development/Distribution certificates among individual account developers

こ雲淡風輕ζ 提交于 2019-12-06 13:32:00
问题 I have been search all over the place for a proper answer about handling certificates. Imagine the following account. Joe has an Individual Apple Account. But he cant code at all. He just publishes the app and calls it his. Bob also has an Individual Apple Account. Bob is an expert at coding an is being paid by Joe to develop his first iOS app. The app includes PUSH notification. What should Joe do so that Bob can develop on his own machine and test everything with his own device? The steps

Production certificate error in push notification - PushSharp

时光怂恿深爱的人放手 提交于 2019-12-06 13:30:35
问题 My app was getting push notification when I used Enterprise account with following push notification certificate in production environment: Apple Production iOS Push Services Then in order to publish my app in App store, I started using app store account, no matter what I try, apple creates production certificate in following name: Apple Push Services Then from this SO, I came to know that Apple has changed its naming in certificate. My issue is, I am using Push Sharp in server side and

Creating .pem file from pushnotification with PHP under LINUX w

耗尽温柔 提交于 2019-12-06 13:27:28
问题 i'm trying to implement push notification in my application, for this i tried to use easyApns, i follow the steps, and implement the classes on my linux based. but unfortunately i stil betting some errors related to certificates. my error is: Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with code 1. OpenSSL Error messages: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown in /var/www/html/apns/classes/class_APNS.php on line

PyAPNs and the need to Sleep between Sends

旧街凉风 提交于 2019-12-06 12:38:31
I am using PyAPNs to send notifications to iOS devices. I am often sending groups of notifications at once. If any of the tokens is bad for any reason, the process will stop. As a result I am using the enhanced setup and the following method: apns.gateway_server.register_response_listener I use this to track which token was the problem and then I pick up from there sending the rest. The issue is that when sending the only way to trap these errors is to use a sleep timer between token sends. For example: for x in self.retryAPNList: apns.gateway_server.send_notification(x, payload, identifier =

Limitations on push notifications for multiple apps from the same server

蹲街弑〆低调 提交于 2019-12-06 12:35:51
问题 I am attempting to send push notifications for multiple apps in quick succession. Each app has its own certificate, of course, and I am using the appropriate certificate for each push token in my database. I am finding that only the first app's 'batch' is arriving. In my php script I am cycling through each app, collecting the messages for that bundle identifier, opening the connection using the corresponding certificate, and sending the messages. Every single message is reported as

iOS : Why our app sometimes doesn't show in the Notification Center?

∥☆過路亽.° 提交于 2019-12-06 11:07:09
There are 3 kinds of situations about this problem. During the development, I can restart the iPhone and reinstall the app to solve this problem. At first, this problem often occurs in the jailbreak iPhone, so we think that there may be something wrong with the Provisioning Profiles. But now, more and more users complain about this (could not receive push), who use the normal iPhone (not jailbreak) and download our app from the App Store. So, I'm confused, and a little worried, about why our app doesn't show in the notification center, and how we can help the users to solve the problem. Many

Update my app when it is in background

浪子不回头ぞ 提交于 2019-12-06 11:03:36
I want to update some data to my application. Consider the application is in the background state, it is neither Voip or Music or GPS. Is it possible to update/send data to the application which is in background? NOTE: I dont want to notify the user so that the application becomes active. Can anyone help me ?? rckoenes The answer is yes and no. Apple does allow you app to complete a lengthy process in the background. But if you does not fall in the Voip, music or GPS category then you can't run in background. If for example you want to send some data to a server, which could take some time,