apple-push-notifications

Flutter Push Notifications: Unable to receive notifications in background or when app is closed

℡╲_俬逩灬. 提交于 2020-08-18 16:56:26
问题 I am developing a flutter app for both Android and iOS. It has notifications, so I did implement the firebase_messaging API. I am sending notifications to certain devices by device ID and sending notifications to topics as well. I am testing the topics notification sending, which is working 100% fine in Android. I followed the guide in above provided link, implemented iOS setups as well. But in iOS, when the notification is sent, it is being received by app only if it is in foreground. Which

Flutter Push Notifications: Unable to receive notifications in background or when app is closed

蓝咒 提交于 2020-08-18 16:55:16
问题 I am developing a flutter app for both Android and iOS. It has notifications, so I did implement the firebase_messaging API. I am sending notifications to certain devices by device ID and sending notifications to topics as well. I am testing the topics notification sending, which is working 100% fine in Android. I followed the guide in above provided link, implemented iOS setups as well. But in iOS, when the notification is sent, it is being received by app only if it is in foreground. Which

Flutter Push Notifications: Unable to receive notifications in background or when app is closed

≡放荡痞女 提交于 2020-08-18 16:55:08
问题 I am developing a flutter app for both Android and iOS. It has notifications, so I did implement the firebase_messaging API. I am sending notifications to certain devices by device ID and sending notifications to topics as well. I am testing the topics notification sending, which is working 100% fine in Android. I followed the guide in above provided link, implemented iOS setups as well. But in iOS, when the notification is sent, it is being received by app only if it is in foreground. Which

PHP Curl - Received HTTP/0.9 when not allowed

|▌冷眼眸甩不掉的悲伤 提交于 2020-08-09 07:28:48
问题 I stumbled over a weird behavior when I try to send a post HTTP/2.0 request to apples push service: $http2ch = curl_init(); curl_setopt($http2ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); curl_setopt($http2ch, CURLOPT_URL, 'https://api.push.apple.com/3/device/megauniquedevicetokendummy'); curl_setopt($http2ch, CURLOPT_PORT, 443); curl_setopt($http2ch, CURLOPT_HTTPHEADER, $httpHeader); curl_setopt($http2ch, CURLOPT_POST, true); curl_setopt($http2ch, CURLOPT_POSTFIELDS, $body); curl_setopt(

Xamarin.iOS cannot register with Azure Notification Hub in iOS 13.1.2

℡╲_俬逩灬. 提交于 2020-08-08 05:45:23
问题 I have been dealing with this issue for a few days now. Yesterday an update was released for the Xamarin.Azure.NotificationHubs.iOS NuGet package. The way to register for the notification hub is NOW different in the sample on the Github link for the nuget package than in the Microsoft Azure documentation. I narrowed down the problem I believe to getting the right connection string. The Error occurs at this line: var hub = new SBNotificationHub(connectionString,HubName); ------Documentation

Xamarin.iOS cannot register with Azure Notification Hub in iOS 13.1.2

给你一囗甜甜゛ 提交于 2020-08-08 05:45:13
问题 I have been dealing with this issue for a few days now. Yesterday an update was released for the Xamarin.Azure.NotificationHubs.iOS NuGet package. The way to register for the notification hub is NOW different in the sample on the Github link for the nuget package than in the Microsoft Azure documentation. I narrowed down the problem I believe to getting the right connection string. The Error occurs at this line: var hub = new SBNotificationHub(connectionString,HubName); ------Documentation

Automated conversion of aps-environment from development to production in Xamarin

落爺英雄遲暮 提交于 2020-08-06 08:08:26
问题 In my Xamarin iOS project, Entitlements.plist has aps-environment set to development , for dev testing purposes. I'm using the Visual Studio Team Services Extension for the App Store to automate publishing builds to TestFlight. However, when it uses fastlane pilot to upload the app, I get this error: ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for

Flutter IOS FCM push notification not coming into notification bar

拈花ヽ惹草 提交于 2020-08-06 05:05:29
问题 I am new to Flutter and IOS. I am configuring FCM push notifications for both Android and IOS.For android its working fine.I have done by referring this link https://medium.com/@jun.chenying/flutter-tutorial-part3-push-notification-with-firebase-cloud-messaging-fcm-2fbdd84d3a5e . For IOS, if the app is opened and if I send FCM from Firebase Console at the same time , Flutter on message is called (See the screenshot , logs are there) . But if I close the app , notification is not coming to

Does the APNs authentication key work for all my app ids?

喜你入骨 提交于 2020-07-06 08:20:04
问题 I have one app and it's dev version. I have 2 Firebase projects: myApp and myApp-dev. I have 2 Apple App ID: myApp and myApp-dev. I have 1 Authentication key that I've uploaded to both of my firebase projects. Is this right? Does one auth key work for all my apps? 回答1: " One APNS to rule them all , One APNS to find them, One APNS to bring them all and in the darkness bind them." The answer is unfortunately yes . You can use one APNS for all of your IOS apps. Be careful while using it ! 回答2: I

Does the APNs authentication key work for all my app ids?

久未见 提交于 2020-07-06 08:18:33
问题 I have one app and it's dev version. I have 2 Firebase projects: myApp and myApp-dev. I have 2 Apple App ID: myApp and myApp-dev. I have 1 Authentication key that I've uploaded to both of my firebase projects. Is this right? Does one auth key work for all my apps? 回答1: " One APNS to rule them all , One APNS to find them, One APNS to bring them all and in the darkness bind them." The answer is unfortunately yes . You can use one APNS for all of your IOS apps. Be careful while using it ! 回答2: I