apple-push-notifications

Azure Notification Hub: How to view per message telemetry?

旧时模样 提交于 2019-12-11 13:32:06
问题 On the pricing page for Azure Notification Hubs: https://azure.microsoft.com/en-us/pricing/details/notification-hubs/ It states that "Standard namespaces have access to Per Message Telemetry and Push Notification Services Feedback". I am using a Standard namespace. The app is sending template based notifications to an iOS app from my back end using the C# Notification Hub client. For example: NotificationOutcome result = await hub.SendTemplateNotificationAsync(params, tags); The result.State

Does GCM works with iOS PushKit framework?

痞子三分冷 提交于 2019-12-11 13:21:03
问题 Is it possible to register for and receive Voip pushes (PushKit pushes) on iOS using Google Cloud Messaging (GCM) service ? https://developers.google.com/cloud-messaging/ios/start 回答1: No, GCM for iOS uses the standard APNS push messages on iOS, not the newer VoIP push messages of Apple PushKit. In this way it is similar to the majority of third party push notification services such as Azure Notification Hub. To my knowledge, only PubNub supports sending push messages using a unified

registerusernotificationsettings not work after using unregisterForRemoteNotifications

痴心易碎 提交于 2019-12-11 12:57:00
问题 I want to use in my app something like disabler and enabler of push notifications. I use code like this. Also I activate notifications in - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions with code from sender.isOn if (sender.isOn) { self.notificationLabel.text = @"Notifications enabled"; UIUserNotificationType allNotificationTypes = (UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge);

Enabling PUSH notification in existing uploaded application

你。 提交于 2019-12-11 11:40:28
问题 I have a application uploaded on App store that doesn't use PUSH notification as of now. I want to enable PUSH notifications in the application and push that as a part of App upgrade in the store. I went through a POC for PUSH notification and it states to create SSL certificate and a provisioning profile and use them for development. Here is the tutorial that i refered http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1 I wanted to clarify if i can

Choose sounds for push notification in my app

落花浮王杯 提交于 2019-12-11 10:49:58
问题 I am working on app and need to let the user from my settings on app to choose the tone for push notification from system sounds. How to let user open system sounds and choose one for push notification? Like whatsapp notification settings Like this link link 回答1: Step 1: Include all possible tones in your app's bundle Step 2: Allow user to select which tone they want Step 3: Store that on server somewhere Step 4: When pushing that user, include their desired sound in the package aps : { alert

Error when running ionic cordova run ios - seems to be related to push notification

筅森魡賤 提交于 2019-12-11 10:12:50
问题 I am trying to test cordova-plugin-firebase in my ionic v1 project. I am getting an error when running ionic cordova run ios If I run the command ionic cordova build ios I don't get any error message. Also, if I open the project in Xcode and try to run the app in a simulator(iphone 8), it successfully runs but running the app in xcode with a device (iphone 4s) connected also shows the same error when running ionic cordova run ios. The error I am getting is "Automatic signing is unable to

Swipe Buttons not coming for Remote notifications

房东的猫 提交于 2019-12-11 10:07:53
问题 I am trying to put custom buttons in my IOS 8 application for the PUSH Notifications received in my chat app. Below is my code but the Push notifications are not showing the ship buttons. if([[UIApplication sharedApplication] respondsToSelector:@selector(isRegisteredForRemoteNotifications)]) { //Defining Ap Actions Categories UIMutableUserNotificationAction *replyAction = [[UIMutableUserNotificationAction alloc] init]; // Define an ID string to be passed back to your app when you handle the

iPhone push notification without alert

自古美人都是妖i 提交于 2019-12-11 10:05:15
问题 Is it possible to send a text push notification to an iPhone app without it popping up a modal dialog? I want it to go straight to the tray, like an Android notification. I know the notification tray can present notifications on iPhone very similarly to Android, but my research tells me the only way to get one there is to first have it pop up as a modal! I'm creating a chat app, and a modal dialog popping up every time other people send messages (which could be every second) would be

About save information from remote notification in ios

*爱你&永不变心* 提交于 2019-12-11 10:04:43
问题 I have a push notification with struct { "aps": { "alert": "Hello, world!", "sound": "default", "funcId": "abc" <-- this key i add more } } I want to store value of key "funcId" to use after app recives notification (app in state backgound or killed) like: -(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary*)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler { NSString *sFuncID = [[userInfo objectForKey:@"aps"]

how do I disregard push notifications

↘锁芯ラ 提交于 2019-12-11 09:35:55
问题 I have a settings in my app to be able to turn on/off push notifications, this is stored in NSUserDefaults. Now the way I understand it is that we'll always get push notifications if we subscribe to a channel. However, if a user turns this settings to off this doesn't necessarily he/she wants to unsubscribe for it, but maybe turn it off temporarily. How do I then disregard the push notifications without actually unsubscribing to the channel? 回答1: This can be handled in the back end side ...