silentpush

iOS silent push notification cancelled

早过忘川 提交于 2021-02-05 07:44:32
问题 In my application, I use silent push notification in order to communicate regularly, but I am in trouble because the silent push notification I received while not launching the application is not processed. OS version is iOS12. I am using FCM to send push notifications. Is there anyone with the same problem? Below is the console log when you receive a notification silent push notification. 10:41:09.395630 +0900 apsd <APSPushHistory: 0x135ee6fe0> timestampForTopic? ##my.app.bundleidentifier##

Silent push not triggering the code execution

余生颓废 提交于 2020-04-30 08:50:21
问题 I'm sending silent push notification every 30 minutes, I want execute code when silent notification arrives to device. But after lot of tries, I can't get the result. When I testing it on my device (with version from Xcode) everything works, after uploading it to TestFlight and downloading the version from TestFlight I'm not able to wake the app from background or wake it from terminated state. Simply this code executes after launching an app or app goes to foreground. According to Apple

Silent push not triggering the code execution

徘徊边缘 提交于 2020-04-30 08:49:25
问题 I'm sending silent push notification every 30 minutes, I want execute code when silent notification arrives to device. But after lot of tries, I can't get the result. When I testing it on my device (with version from Xcode) everything works, after uploading it to TestFlight and downloading the version from TestFlight I'm not able to wake the app from background or wake it from terminated state. Simply this code executes after launching an app or app goes to foreground. According to Apple

Is possible use silent push to wake up APP and get the VOIP call?

青春壹個敷衍的年華 提交于 2020-01-06 05:24:09
问题 if My app works at background, can I use silent push to wake app and get the VOIP call? I used "jpush" to post a silent push which can work when connecting my idevice with Xcode and run APP. If my idevice doesn't run APP with Xcode, I can not receive the silent push at background (only receive at foreground.) Is it possible to use silent push to wake up APP and get VOIP call? Did I get something wrong?? 回答1: Yes. If your application does VoIP calling then it's possible to use PushKit:

iOS11 swift silent push (background fetch, didReceiveRemoteNotification) is not working anymore

岁酱吖の 提交于 2019-12-17 09:42:15
问题 I was hoping that the iOS11 release will fix the silent push issue, which was in the latest betas and GM version of iOS. Currently I'm struggling to understand, why I don't receive any silent push messages, which should actually wake up my app to perform some needed tasks in the background. In iOS 10 I just use the background fetch capability and implemented the 'wake-up-code' in my AppDelegate like the code below. In iOS 11 the registering code is still working fine and my backend is also

Firebase silent apns notification

我是研究僧i 提交于 2019-12-17 04:31:22
问题 Is there a way to send a silent APNS using google's firebase? It seems that if the app is in the background it will always show a notification to the user. Thanks? 回答1: You can send silent APNS messages using the FCM server API https://firebase.google.com/docs/cloud-messaging/http-server-ref In particular you need to use: The data field: This parameter specifies the custom key-value pairs of the message's payload. For example, with data:{"score":"3x1"}: On iOS, if the message is sent via APNS

How to handle/store push content to core data on background?

廉价感情. 提交于 2019-12-14 02:52:41
问题 In my app, We have a feature to store content receive from push notification to locally core-data and are facing data loss issues on background state, Steps we followed: 1 - Push received in didReceiveRemoteNotification method. 2 - Insert the new data from push in core data( All core data process handling in single class and single context only) self.getManagedContext().perform { do { if self.getManagedContext().hasChanges { print("Core Data class: saveChanges.....") try self

iOS11 swift silent push (background fetch, didReceiveRemoteNotification) is not working anymore

让人想犯罪 __ 提交于 2019-11-27 08:29:32
I was hoping that the iOS11 release will fix the silent push issue, which was in the latest betas and GM version of iOS. Currently I'm struggling to understand, why I don't receive any silent push messages, which should actually wake up my app to perform some needed tasks in the background. In iOS 10 I just use the background fetch capability and implemented the 'wake-up-code' in my AppDelegate like the code below. In iOS 11 the registering code is still working fine and my backend is also delivering the push notification to Apples DEV servers (sandbox) and also to the PROD servers (production