poppingmoon / aria

A cross-platform Misskey client built with Flutter
https://misskey.io/@aria_app
GNU Affero General Public License v3.0
138 stars 5 forks source link

feat: push notification #406

Closed poppingmoon closed 1 month ago

poppingmoon commented 1 month ago

Implemented push notifications for Android and iOS.

On Android, users can choose an external UnifiedPush distributor app or an embedded FCM distributor. If you choose the external distributor, notifications from Misskey will be sent directly to the distributor server and the messages will be decrypted inside the app. Otherwise, if you choose FCM, notifications will first go to Misskey Web Push Proxy for decryption, then they will be sent to the devices via FCM.

On iOS, the process is similar to the FCM method, but the decrypted messages will be delivered through APNs instead.

Fix #284