6 Sep 2019 |
MatMaul | En réponse à @aaron:raim.ist
Does this affect Riot? https://www.macrumors.com/2019/09/05/private-messaging-apps-changes-ios-13/
Encrypted messaging apps currently use the VoIP APIs Apple is restricting for decrypting messages on the iPhone in the background, and the change disables that functionality.
Come onnnnnn | 12:53:11 |
MatMaul | You already had to have VoIP to get to use the API... I need to look if there is again another stupid restriction | 12:54:23 |
MatMaul | If at least they would allow code execution on receiving visual push notifications... But no. | 12:54:58 |
aaron | In reply to @mat:tout.im If at least they would allow code execution on receiving visual push notifications... But no. Isn’t there an encrypted push handler for decrypting push messages locally when received? | 13:01:39 |
aaron | So long as you don’t need millisecond latency on your incoming chat messages. | 13:02:07 |
| SyntaxErrror joined the room. | 16:01:15 |
MatMaul | I don't think so. From what I have read you send a push visual notif and you can't run any code from that until the user click on it. It needs double checking but last time I checked I understood that the only hope for that was this VoIP API. | 17:49:24 |
aaron | In reply to @mat:tout.im I don't think so. From what I have read you send a push visual notif and you can't run any code from that until the user click on it. It needs double checking but last time I checked I understood that the only hope for that was this VoIP API. At some point they added a push encrypted background helper for that exact case. As I understand the downside is you’re subject to batching though, and have to obey the user’s wishes about when messages can arrive and power settings. | 17:58:24 |
MatMaul | Execute code when recieve push notification when app is not running - Stack Overflow https://stackoverflow.com/questions/48622651/execute-code-when-recieve-push-notification-when-app-is-not-running/48622860 | 18:02:57 |
MatMaul | So you can if your app is running only, so useless for our use cases 😭 | 18:03:24 |
aaron | Sorry, Riot.im search is not great, I can’t find the link on here. Give me a few minutes to get a desktop. | 18:12:24 |
aaron | Knowing the class exists and finding the documentation (and name) for the class are two different issues. | 18:13:49 |
aaron | MatMaul: https://developer.apple.com/documentation/usernotifications/unnotificationserviceextension | 18:22:11 |
aaron | I don’t know when it was introduced, but it’s part of the iOS 10.0+ SDK. | 18:23:26 |
aaron | With the previous caveat that you are now subject to Apple’s push batching. You may not receive notifications when you want them, they will arrive when the tower and phone decide they want them. | 18:25:32 |
MatMaul | Ah yeah I think I went through it at some point but the batching completely defeat the purpose for messaging | 18:47:50 |
aaron | Meh. Works for everything else on the system. | 18:49:45 |
MatMaul | Modifying Content in Newly Delivered Notifications | Apple Developer Documentation https://developer.apple.com/documentation/usernotifications/modifying_content_in_newly_delivered_notifications | 18:50:36 |
MatMaul | No mention of the batching here | 18:50:58 |
MatMaul | To be tested thanks | 18:51:06 |
aaron | From my understanding, it batches them on a human time scale. Seconds or minutes, depending on battery and signal and whatever. | 18:52:10 |
MatMaul | Ah ok cool then. | 18:52:52 |
aaron | So not likely noticeable. | 18:53:23 |
aaron | There is an execution limit though so you can’t abuse them. | 18:53:50 |
| Sam joined the room. | 19:34:31 |
| Mendo joined the room. | 21:44:34 |
| Mendo | 21:49:20 |
| Mendo | 22:10:38 |
| Mendo changed their profile picture. | 22:17:31 |
7 Sep 2019 |
wcismylife | Material design apps look so bad on iOS | 05:13:07 |