apple-push-notifications

Azure Apns Hub not working with production Certificate

夙愿已清 提交于 2019-12-11 02:29:00
问题 I have successfully tested an azure apns hub in sandbox mode. Now when I try to switch over to production, nothing works. I have read the tutorials, and i'm sure that I generated the production certificate right. Does anybody have an idea what the problem would be? At some point I think I have read that while I was using an Iphone to test the sandbox apns, it may not work after switching to production. 回答1: After debugging some more, I figured out what the problem was. I had to run my

PushNotifications iOS 7 not working when user taps on icon

你说的曾经没有我的故事 提交于 2019-12-11 02:27:11
问题 I have the methods below to handle push notifications. They work perfect when the app is running and I do receive notifications when the app is in the background. When a user taps the icon however it opens the app but my UICollection view is not reloaded the way it is when a user receives the notification when the app is running. -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { UIApplicationState state = [application applicationState]; if

APNS :Error Domain = NSCocoaErrorDomain Code=3840

狂风中的少年 提交于 2019-12-11 02:19:47
问题 Im registering device data with the server, to get push notification. Here it goes the code, [NSURLConnection sendAsynchronousRequest: request queue: _postQueue completionHandler: ^(NSURLResponse *response, NSData *responseData, NSError *connectionError) { if (connectionError) { // } else { NSError *error = nil; NSDictionary *dictionary = [NSJSONSerialization JSONObjectWithData: responseData options: NSJSONReadingMutableContainers error: &error]; } }]; Im getting error as Error Domain

Silent Notification Issues without Xcode on iOS 8 Devices

回眸只為那壹抹淺笑 提交于 2019-12-11 02:04:14
问题 I've been testing out the Silent Notification feature that is available since iOS 7. My application is targeting iOS 7 and UP. I'm testing on an iPhone6 device. Everything seems to work great in my application when my iPhone is connected to the computer & Xcode is running the application. All silent notifications work 100% and they show up in my application as well. However, if I stop Xcode & send a silent notification -- my device does not receive the silent notifications at all. I have done

No error but also not receive notification at mobile end APPLE device using php

倖福魔咒の 提交于 2019-12-11 01:58:36
问题 I am not good in english , i tried my best to explain question to you , if you don't understand then please ask me to explain. I have a bunch of device tokens , i am fire notification to all the device tokens.This is a apple device token. ex: 297257d9ae463410c992610a08cdff5655c2ab3cc4364fdffd6c9499df9e0cff d520d52dfbb9f05938d1b1cbe6cf3b2452b2337df7c7696f927ac184c1eeec25 81ca0fc696bfce339f83738fde6bf3a5ffc5371b1b9c85e04e6a28ef490b9ce1

Using push notification using Api

删除回忆录丶 提交于 2019-12-11 01:48:06
问题 I am trying to use push notification using Api and I am not getting any error message neither I am getting any response. I have checked Apple Push Notification Service with PHP Script and applied changes in my code accordingly but still not working. I am not able to get how to get serverId that I have to use in $device = 'fbb5a9c71066794d57fee33b4005a89f1bb8941a68660fd6e91f466be1299ab6'; // My iphone deviceToken $payload['aps'] = array( 'alert' => 'This is the alert text', 'badge' => 1,

Apple push notification without Apple Server

风流意气都作罢 提交于 2019-12-11 01:34:09
问题 is there a possibility to send Push Notifications to iOS Clients without the use of Apple´s Server´s?! And on the other Hand is it possible to push a whole file?! like a XML-File for example, or can you just push text messages?! Another Question, is there any way to push an xml-file to an iOS Client remotely?! 回答1: You can just push text message, sound (actually tell the system to play specific sound on a push, not the actual sound file). All these info are transferred in json format (push

How can we trace push notifications being sent to the Apple APNS server from IBM MobileFirst 7.0?

浪子不回头ぞ 提交于 2019-12-10 23:59:47
问题 We are having some issues with push notifications being sent from an IBM MobileFirst 7.0 server to Apple's APNS server. Specifically, the push notifications seem to be sent successfully from the MobileFirst adapter, but never arrive at the target device. How can we trace this interaction? 回答1: You can use the trace string com.ibm.pushworks.server.notification.*:com.ibm.pushworks.server.notification.apns.*=all to trace the inner mechanics of the push notification mechanism on the MobileFirst

iOS: Push Notifications have stopped working

折月煮酒 提交于 2019-12-10 23:37:36
问题 Push notifications have stopped working for the production version of our iOS app. It's been about a year since we released our app, so I'm guessing it's an issue with the certificate expiring. First of all, is there any way to verify that this is in fact the problem? I tried to go to the Apple Developer site, generate a new production APNS certificate with the appropriate App ID, download the certificate, add to keychain, export the key for that certificate, and add replace the existing key

Swipe Buttons in IOS 9 Remote Notification - Work when app in background not when app out of memory

若如初见. 提交于 2019-12-10 23:19:22
问题 I have successfully implemented the Reply through notification for the query I asked [Swipe Buttons not coming for Remote notifications My problem is that I do get a callback and I can do the necessary handling of the actions like fetching the text from text field and doing the necessary to send chat message without opening app from background 'when running' using this method: - (void) application:(UIApplication *)application handleActionWithIdentifier:(nullable NSString *)identifier