apple-push-notifications

Can I send an image with Apple's Push Notification Service? [closed]

时光毁灭记忆、已成空白 提交于 2019-12-18 16:56:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I need to show an image whenever my application receive Notification. Does Apple push notification support image sending? Update If above thing is not possible can we show image from url on UIAlertview when we receive notification. 回答1: Update! iOS 10 introduced the ability to add media attachments to push

CloudKit notifications

自作多情 提交于 2019-12-18 16:51:56
问题 I might be missing something obvious here. How would one create a CloudKit notification with detail about the CKRecord that you are being notified about? (i.e. not just a generic "New Item Created!" but a notification with the title of the record for instance, like, "Jill and Jessica's Birthday Party!") Is the proper way to do this to create a new subscription with a new notification.alertBody for every new record change? That doesn't make any sense. That leaves the option queryNotification

Every Push Notification Banner is shown twice on iOS9 [duplicate]

天涯浪子 提交于 2019-12-18 15:50:30
问题 This question already has answers here : iOS Push Notification Banner shown twice for a single Push (8 answers) Closed 5 days ago . Since a few hours we have a strange issue in our iOS app: every push notification received on the home screen of iOS will trigger/show the same notification banner twice with a 2 sec delay between them. It only happens on devices with iOS 9.x. On iOS 8.x devices everything is still working as expected. If I set a break point in -[AppDelegate application

Every Push Notification Banner is shown twice on iOS9 [duplicate]

白昼怎懂夜的黑 提交于 2019-12-18 15:50:07
问题 This question already has answers here : iOS Push Notification Banner shown twice for a single Push (8 answers) Closed 5 days ago . Since a few hours we have a strange issue in our iOS app: every push notification received on the home screen of iOS will trigger/show the same notification banner twice with a 2 sec delay between them. It only happens on devices with iOS 9.x. On iOS 8.x devices everything is still working as expected. If I set a break point in -[AppDelegate application

Objective C: How to check if application is currently active (i.e. user is using it)?

不打扰是莪最后的温柔 提交于 2019-12-18 14:32:25
问题 I am implementing an APNS push for my app with the following behaviours 1) If app is not active i.e. in background or not launched yet : User will receive a pop up message and on click will bring him/her to the 3rd tab in the app (see code below) -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { self.tabController.selectedIndex = 3; } 2) If app is launch and currently active No popup alert will be shown and the number of new notifications

Objective C: How to check if application is currently active (i.e. user is using it)?

雨燕双飞 提交于 2019-12-18 14:31:48
问题 I am implementing an APNS push for my app with the following behaviours 1) If app is not active i.e. in background or not launched yet : User will receive a pop up message and on click will bring him/her to the 3rd tab in the app (see code below) -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo { self.tabController.selectedIndex = 3; } 2) If app is launch and currently active No popup alert will be shown and the number of new notifications

get push notification while the app is not running iPhone

北城以北 提交于 2019-12-18 13:58:08
问题 I am working on one iPhone app which involves a push notification. As I have seen in many documents and tutorials it suggests to register for push notification with in application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions like the following: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UIApplication sharedApplication] registerForRemoteNotificationTypes

Multiple iPhone APN messages, single connection

女生的网名这么多〃 提交于 2019-12-18 13:30:40
问题 I have a strange issue. I'm trying to get Apple Push Notifications working with Python. I can connect and send individual messages without a problem. The issues pop up when I start sending more than one message, but it's more bizarre than even that. I'm testing with multiple devices... some iPhones and some iPod Touches. I can send multiple messages to the iPhones without a hitch, but if I have an iPod Touch device id in the list, any message that goes after will fail. So if I send 4 messages

Rails 3 and apple push notification service

旧时模样 提交于 2019-12-18 13:26:06
问题 Has anybody been able to send push notification to iPhone using rails 3 ? APN on rails and samesoffes plugin only works with rails 2. I am new to rails and i have not been able to make either of them work. Here are the errors i encountered : APN on Rails : tried to replace ruby script/generate apn_migrations With rails generate apn_migrations got : myApp/config/environment.rb:5:in `require': no such file to load -- apn_on_rails (LoadError) I also did not manage to run the configuration

Renewing Production Push SSL Certificate - Apple APNS

牧云@^-^@ 提交于 2019-12-18 12:58:21
问题 Our production push ssl certificate is going to expire soon. If I generate a new certificate, will the other certificate remain valid until it is set to expire (at which point it must be replaced with the new certificate)? Will both certificates work at the same time? Just concerned about the timing. For our app, we host a push server and so do a few of our customers. I want to make sure creating a new certificate and updating our push server with the new certificate doesn't mess up our