apple-push-notifications

How to configure Azure Notification Hub to use APNS token authentication mode?

允我心安 提交于 2019-12-10 15:24:37
问题 I am trying to add APNS connection in Azure Notification Hub with Token as authentication mode. I have searched around but I am not able to find any guides anywhere to make this work. Maybe someone has a link to a guide showing how to find the information needed? I tried to create a "APNs Auth Key" in Apple developer console, but that gives me a .p8 file and the token inside that file does not seem to be accepted, so I guess I need to find the token somewhere else. I hope someone have a link

APNS: didReceiveRemoteNotification:fetchCompletionHandler did not run when app is in background (unless xcode is debugging)

安稳与你 提交于 2019-12-10 15:24:34
问题 I have this problem regarding APNS in my iPad 2 running iOS 8.1 . I searched on Google for a few days and tried every solution that I can find. However I cant seem to solve this problem. What I did: Enabled capabilities: remote-notification, background fetch I have "content-available = 1" in the aps payload. I used NSLog() in didReceiveRemoteNotification:fetchCompletionHandler so I can see in device log clearly if the method is triggered What I want to do: I want to perform network request

How to get device tokens

限于喜欢 提交于 2019-12-10 15:22:18
问题 I have an app for iOS and I want to integrate there push notifications. I have seen a tutorial on youtube and everything is OK, but recently I'm using a development certificate (for testing - not for AppStore use) and I have PHP script on my server. In this file is stored the deviceToken which have my iPhone and it is written in php variable $deviceToken. But now, when I want to use this in AppStore, how can I get the device tokens from everybody who had downloaded my app and get it into the

iOS swift How to create .p8 file?

耗尽温柔 提交于 2019-12-10 14:13:09
问题 I am working with Pushy Notification where I need to register with the p8 file. So how can I create that p8 file from developer account? 回答1: Follow these steps: Generate an APNs Auth Key Open the APNs Auth Key page in your Developer Center and click the + button to create a new APNs Auth Key. In the next page, select Apple Push Notification Authentication Key (Sandbox & Production) and click Continue at the bottom of the page. Apple will then generate a .p8 key file containing your APNs Auth

Push Notification Badges not Coming

女生的网名这么多〃 提交于 2019-12-10 13:59:56
问题 I am using this coding for apple push notification, push notifications are coming but they are coming without any badges, any suggestion what is wrong with this code, that I am not getting badges. I already check the setting tab, and badges are on there. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UIApplication sharedApplication] registerForRemoteNotificationTypes: (UIRemoteNotificationTypeAlert |

No Sound in ios 8 Parse push [duplicate]

倾然丶 夕夏残阳落幕 提交于 2019-12-10 13:59:11
问题 This question already has answers here : No sound in Parse push notification for ios8 (2 answers) Closed 4 years ago . This is weird, after updating my app to support iOS 8 push notifications sent through Parse (using the Parse dashboard) the push notifications wont make any sound. I found this duplicatie on Stackoverflow but the answer posted wasn't working for me: No sound in Parse push notification for ios8 I already checked the notification center and messages and sounds are enabled.

IOS Framework with push notifications

跟風遠走 提交于 2019-12-10 13:15:18
问题 I am developing an IOS Framework with several functionalities, and I would like to add push notification services. I created my own push notification service using Easy APNS. I do not know how to deal with others apps when They integrated my SDK. I mean, I do not know, if they have to send me their distribution certificates, and I can add them in my push notifications service, or If I need to integrate something in their push notification servie. I do not know how to deal with a Framework

iOS - Push Notification: does it always display a notification

陌路散爱 提交于 2019-12-10 12:07:59
问题 I'd like to know if it is possible to send a push notification, through APNS , without displaying a notification if the application isn't started? (in this case, the message received will be thrown away) Thx 回答1: I may be misunderstanding your question, but I am assuming you are asking how to provide the user with options to turn off particular aspects of the push notification? You will have to set this in the App. That is, if the user wishes to turn off this particular aspect, your App will

iOS - APNS With InHouse Distribution

末鹿安然 提交于 2019-12-10 11:38:00
问题 A common problem that is being faced by many developers, I'm posting it again as I couldn't get any right solution. For distribution of apps using InHouse account (by OTA), how is it possible to send push notifications to the apps installed on devices. With development profile, everything works good during. The problem is when distribution only. How will Apple recognize that the bundle identifier is being used in house distributed application? 回答1: How will Apple recognize that the bundle

How to Open a Notification view controller when a iOS push notification is received?

99封情书 提交于 2019-12-10 11:37:40
问题 I am working in swift 4.2 , and Push notification receive from FireBase . When I tap the Notification , it go to Homepage. But I want to go to Notification page. This is Swift4.2 , Xcode 9.3 , iOS 12.1 . In the past , I have tried but not working both Foreground and InActive the app func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { FirebaseApp.configure() UINavigationBar.appearance().barTintColor =