apple-push-notifications

Will iOS Notification Service Extension delete attached file from device?

狂风中的少年 提交于 2021-01-27 06:48:58
问题 I got a strange problem. iOS Notification Service Extension will delete the attachment from device. I use SDWebImage to display and cache image, and I implemented a Notification Service Extension to display a image in the notification alert view. In my case, the image was already cached locally. Then, I click home button, my app was running in background, app scheduled a local notification with the cached image attach into the notification content. See the code bellow: 1.Schedule a local

Will iOS Notification Service Extension delete attached file from device?

夙愿已清 提交于 2021-01-27 06:47:01
问题 I got a strange problem. iOS Notification Service Extension will delete the attachment from device. I use SDWebImage to display and cache image, and I implemented a Notification Service Extension to display a image in the notification alert view. In my case, the image was already cached locally. Then, I click home button, my app was running in background, app scheduled a local notification with the cached image attach into the notification content. See the code bellow: 1.Schedule a local

How do I Quickly Automate Sending FCM or APNS Messages?

南笙酒味 提交于 2021-01-27 04:44:47
问题 I am developing a backend service that sends push notifications to mobile apps via either FCM or APNS. I would like to create an automated test that can run in under a minute and validates that the server can successfully send a notification. Note that I do not necessarily need to check that the notification has been delivered, just that FCM or APNS has successfully processed the request to send the message. I know that theoretically I could automate this test using a tool like appium and use

How do I Quickly Automate Sending FCM or APNS Messages?

三世轮回 提交于 2021-01-27 04:44:24
问题 I am developing a backend service that sends push notifications to mobile apps via either FCM or APNS. I would like to create an automated test that can run in under a minute and validates that the server can successfully send a notification. Note that I do not necessarily need to check that the notification has been delivered, just that FCM or APNS has successfully processed the request to send the message. I know that theoretically I could automate this test using a tool like appium and use

How do I Quickly Automate Sending FCM or APNS Messages?

百般思念 提交于 2021-01-27 04:42:30
问题 I am developing a backend service that sends push notifications to mobile apps via either FCM or APNS. I would like to create an automated test that can run in under a minute and validates that the server can successfully send a notification. Note that I do not necessarily need to check that the notification has been delivered, just that FCM or APNS has successfully processed the request to send the message. I know that theoretically I could automate this test using a tool like appium and use

How to get the push notification payload when force-quit / swipe up to kill the iOS app without tapping on the banner/alert?

浪子不回头ぞ 提交于 2021-01-04 03:14:35
问题 I’m building an app which handles notifications pushed from Parse, and trying to create a notification history function. I’ve enabled the background modes successfully, so when the app is running in the background, the app can get the payload well via application:didReceiveRemoteNotification:fetchCompletionHandler even the banner/alert is not tapped. However, when force-quit / swipe up to kill the app, application:didReceiveRemoteNotification:fetchCompletionHandler is not called. Is there any

How to get the push notification payload when force-quit / swipe up to kill the iOS app without tapping on the banner/alert?

亡梦爱人 提交于 2021-01-04 03:12:49
问题 I’m building an app which handles notifications pushed from Parse, and trying to create a notification history function. I’ve enabled the background modes successfully, so when the app is running in the background, the app can get the payload well via application:didReceiveRemoteNotification:fetchCompletionHandler even the banner/alert is not tapped. However, when force-quit / swipe up to kill the app, application:didReceiveRemoteNotification:fetchCompletionHandler is not called. Is there any

iOS13: Alternative to VOIP push notifications (enterprise) to silently communicate with an app in background now that iOS13 killed it

和自甴很熟 提交于 2020-12-29 04:54:22
问题 So for about 4 years in our enterprise environment we were happily using VOIP push notifications to remotely access user's tablets for maintenance and remote data repair purposes. Unlike regular APNS, VOIP push notifications would access the app even if weren't running. I should have figured apple would kill it sometime. Is anyone aware of a private API to bypass the pushkit requirement to call reportNewIncomingCallWithUUID which brings about a full screen call UI, or another mechanism that I

iOS13: Alternative to VOIP push notifications (enterprise) to silently communicate with an app in background now that iOS13 killed it

坚强是说给别人听的谎言 提交于 2020-12-29 04:53:02
问题 So for about 4 years in our enterprise environment we were happily using VOIP push notifications to remotely access user's tablets for maintenance and remote data repair purposes. Unlike regular APNS, VOIP push notifications would access the app even if weren't running. I should have figured apple would kill it sometime. Is anyone aware of a private API to bypass the pushkit requirement to call reportNewIncomingCallWithUUID which brings about a full screen call UI, or another mechanism that I

iOS13: Alternative to VOIP push notifications (enterprise) to silently communicate with an app in background now that iOS13 killed it

女生的网名这么多〃 提交于 2020-12-29 04:52:00
问题 So for about 4 years in our enterprise environment we were happily using VOIP push notifications to remotely access user's tablets for maintenance and remote data repair purposes. Unlike regular APNS, VOIP push notifications would access the app even if weren't running. I should have figured apple would kill it sometime. Is anyone aware of a private API to bypass the pushkit requirement to call reportNewIncomingCallWithUUID which brings about a full screen call UI, or another mechanism that I