apple-push-notifications

apple push notification with sound buzzing at regular interval

我们两清 提交于 2019-12-02 10:25:26
I have a small but tricky question over apple push notification payload on iOS. From what I know the push notification payload can have sound (length <= 30 seconds), text and badge. Now what I want with my iphone app is that the push notification sent by my provider (server) to this app on iPhone screen to constantly buzz at regular interval (say every 1 min) until user taps on the notification on screen (i.e. checks the message). Hence, the notification would play the sound constantly and stops when user taps and launch the app. Is it feasible? How? PS: Its an enterprise application and would

PushSharp ApplePushService giving a Channel Exception

女生的网名这么多〃 提交于 2019-12-02 10:22:02
问题 I was able to send and receive push notification sucessfully for ios device, however now I am seeig this error: It appears after it seems to connect but the maximum attempts are reached then it tries to connect again and gives this error: I have used the same credentials before and after seeing these errors it successfully sends the notifications and I get them on my device. It seems to try to connect and then it reaches the maximum attempts and then it tries to connect again and gives this

How to send an apple mdm push notification with plain php?

北战南征 提交于 2019-12-02 09:57:05
i've done a apple-mdm-ota-server for IOS so far. The devices deliver me following things to the server (in form of a plist/xml): -Push Magic Token -Device Token (in b64 format oO) -PN-Topic (com.apple.mgmt.xxx) -UDID (in hexcode) -UnlockToken (a very long b64 encoded thing) I need to send the following content to the push notification thing from apple: {"mdm":"pushMagic"} Pushmagic = the Push Magic Token How I need to compose the data I need to write into the apns socket? I tried the one that works for other push notifications, but for this it doesn't. There is happening just nothing :-(.

How to detect Remote notification in didFinishLaunchingWithOption application method in objective c?

余生颓废 提交于 2019-12-02 09:36:34
when app in not in background mode ,inactive mode and app is completely closed. than how to detect is their any notification using application's delegate "didFinishLaunchingWithOption" method. i have searched a lot about it but not get anything. please help . Thanks Below methods is used for notifiaction - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { UILocalNotification *notification = [launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey]; if (notification) { } } -(void)application:(UIApplication *

APNS Openssl Connection from PHP for Apple Push Notification?

↘锁芯ラ 提交于 2019-12-02 09:02:05
Finally i have sent a notification from my local server to my device. I followed this tutorial http://www.raywenderlich.com/3525/apple-push-notification-services-tutorial-part-2 and many of the peoples from stack overflow helped me to reach this. I Thank you all my friends. I have one doubt on the server setup. For my local use i have used MAMP for Apache and MySQL servers . Finally i open the ssl from Terminal used certificate.pem and key.pem . Is there any way to open ssl from php script . But, i don't know any single script of php because i am ios developer. Sorry for this. Yesterday i have

Push notification badge

百般思念 提交于 2019-12-02 08:35:10
I am pushing several messages form my server to the iPhone. When I am pushing I'm setting the badge value as 1. As there are several independent tasks in the server there may be situational where server pushes messages to same phone but the badge will be 1 cos as those are independent tasks I cannot increment the badge and send. So I want to know whether this badge is incremented in the iPhone side or do we have to push the badge value appropriately? Thank you Jeremy Fuller The badge value will be whatever you set it to, it won't increment on the device automatically. Your server logic needs

Installation of an application cannot be performed in MDM

我的梦境 提交于 2019-12-02 08:14:29
问题 It is MDM using APNs. An addition and deletion of an application are permitted in the composition profile. iPhone of iOS5 is used. It does not succeed, although installation of the "free application" of "iTunesStore" is performed by the following method by MDM of iOS. Has it made a mistake in this method? Please teach me the right method. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN""http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <?xml

Sound issues fixes for iOS 10 Push Notifications

不打扰是莪最后的温柔 提交于 2019-12-02 08:13:27
I’ve implemented push notifications for our app. on iOS 9, the sound words fine. on iOS 10, it’s very unpredictable. Fresh install from Xcode on iOS 10.0.2 would bring up my custom sound. reinstall would bring up default sound. I don’t know exactly when but at times I also get no sound. reading from here and many others my conclusion is that it works after a hard reboot. 2 questions: Has Apple completely fixed this issue in any version? If so what version? After a hard reboot, would the problem completely go away? Or you need to do it again? if so when? Honey Has Apple completely fixed this

Require.js with Phonegap and Push Notification for iOs

前提是你 提交于 2019-12-02 07:37:42
问题 Im building an app with Phonegap, Backbone.js and Require.js. The app implements Phonegap Push Notification. At the moment, the loading of the scripts in index.html looks like this: <script type="text/javascript" src="cordova.js"></script> <script type="text/javascript" charset="utf-8" src="PushNotification.js"></script> <script type="text/javascript" src="js/app/index.js"></script> <script type="text/javascript"> app.initialize(); </script> <script data-main="js/app" src="js/require.js"><

Push message doesn't send using with distributed certificate

拥有回忆 提交于 2019-12-02 07:18:43
问题 I can send push notification with developer p12 file using with sandbox, but my application on the appstore, I use distribution certificate f12 file using with gateway.push.apple.com messages cannot reach to devices. Push notification service activated on distirbuted certificate, I checked on developer.apple.com, I'm also trying new device id. (not developer device id) How can i solve my problem? Could you help me? where is my wrong? My C# code like below: int port = 2195; String hostname =