So, to yesterday’s task wrt to #Firebase + #Flutter + #Android (#PushNotification):
Firebase launches the second isolate without any additional parameters that we can pass. But thanks to the CEO at “Client 2”-company, who knows Android better than me and said I might look into “BroadcastMessages” because that is normally the way to solve such problems on Android, we have a solution!
The main isolate creates a BroadcastChannel on which it listens. It listens for messages sent to its own bundleId as name.
The spawned isolate then has to find out the bundleId (`platform_info_plus`) and then create a BroadcastMessage which contains the data received from Firebase.
Then it can send that BroadcastMessage. Just make sure that you do NOT `await` that `sendBroadcastMessage` because otherwise Firebase will kill this isolate.
I use `flutter_broadcasts` package to do this.
Since I already have a code for iOS that then handles everything, I just had to implement the passing of the broadcast message.
Yay!!!
#firebase #flutter #android #pushnotification #ginlo #ginlo_ii #cicero #worktopics
I was surprised at my phone ringing last night, until I realised I got a real non-test push notification from the experimental fork of Nextcloud made by Niklas Reimer. It uses @unifiedpush in the #foss and @fdroidorg compatible version of Nextcloud, and notifications don't go through Google Services or the Nextcloud Push gateway.
Something very exciting is coming!
#foss #pushnotification #UnifiedPush #android #Nextcloud #ntfy #fdroid
#foss #pushnotification #UnifiedPush #android #nextcloud #ntfy #fdroid
I was annoyed at my phone ringing suddenly last night, until I realised I got a real push notification from the experimental fork of Nextcloud made by Niklas Reimer. It uses @unifiedpush in the #foss and @fdroidorg compatible version of Nextcloud, and notifications don't go through Google Services or the Nextcloud Push gateway.
Something very exciting is coming!
#foss #pushnotification #UnifiedPush #android #Nextcloud #ntfy #fdroid
#foss #pushnotification #UnifiedPush #android #nextcloud #ntfy #fdroid
I was annoyed at my phone ringing suddenly last night, until I realised I got a real push notification from the experimental fork of Nextcloud made by Niklas Reimer. It uses @UnifiedPush in the #foss and @fdroidorg compatible version of Nextcloud, and notifications don't go through Google Services or the Nextcloud Push gateway.
Something very exciting is coming!
#foss #pushnotification #UnifiedPush #android #Nextcloud #ntfy #fdroid
#foss #pushnotification #UnifiedPush #android #nextcloud #ntfy #fdroid
Figured out why #iOS didn’t work. They are using the legacy Firebase-API (which is still ok). There, I need to use “content_available”: true and “mutable_content”: true if I want to send a silent PN to the client.
Since all our messages are E2E-encrypted, I MUST send silent PNs. It is also required that we use “priority”: “high”, in order to get *some* chance to get the PN delivered.
Luckily, I can use #Insomnia to test what format the PN-JSON has to be to be successful on #Firebase.
Since the existing Firebase-Client in the legacy Java-Code wasn’t meant for iOS, I need to add these properties to the existing Java Code. So yeah, then, hopefully, it should work.
#ios #insomnia #firebase #flutter #apns #pushnotification
Eine Frage an die IT-Bubble:
Ich suche einen Ersatz für #Horde #Webmail mit #ActiveSync
Horde ist prinzipiell sehr toll, nur tut sich da irgendwie schon länger nichts mehr.
Und ja, wirklich ActiveSync, also #PushNotification, #ContactSync, #CalendarSync und #TaskSync.
#horde #webmail #activesync #pushnotification #contactsync #calendarsync #tasksync
If you feel like the amount of push notifications you get on your phone is not enough, and you want to send yourself push notifications via curl, then you can use ntfy:
#automation #curl #PushNotification #alerting #PubSub #tools #DevOps
#automation #curl #pushnotification #alerting #pubsub #tools #devops
If you feel like the amount of push notifications you get on your phone is not enough, and you want to send yourself push notifications via #curl, then you can use ntfy
#automation #curl #PushNotification #alerting #PubSub #tools #DevOps
#curl #automation #pushnotification #alerting #pubsub #tools #devops
I wrote my first #emacs package (https://github.com/shombando/ntfy) to interface with https://ntfy.sh/.
This allows me to send notifications (reminders) to my mobile device from inside Emacs. I plan to tie this into #orgmode reminders. Potentially even make it bi-directional so a notification from mobile is captured into org. Suggestions and contributions welcome.
Also available on:
https://git.sr.ht/~shom/ntfy
https://codeberg.org/shom/ntfy
#emacs #orgmode #foss #pushnotification
Just discovered https://ntfy.sh/ it's a #foss #pubsub based #pushnotification service that is incredibly simple to use and easy to #selfhost. The author even runs an instance for the community that doesn't require any sign-up (keep privacy in mind and hope there's no abuse of this great free service). It supports sub via web app and Android (open issue for iOS).
#foss #pubsub #pushnotification #selfhost
RT @andrey_l1nd3n@twitter.com: The only thing easier than getting #PushNotification subscription right is... getting it wrong. So, you, know... don't. Watch this https://youtu.be/vRsVx8_94UQ, read this https://goo.gl/mKhnPR and for 😻 's sake get it right! Thanks @tomayac@twitter.com
🌐💙🛠️