Enable vibration and sound for notifications

parent b34719ce
Pipeline #591 failed with stages
in 1 minute and 40 seconds
A new version has been made available and should soon
be on Google Play!
Note that this version will not be on TestFlight (yet) because
notifications are currently only implemented on Android
(using Firebase, so same goes for F-Droid for the time being).
### Changes
- Show notifications when receiving a new message!
- Username is not checked whether it's available anymore
This was done for a future feature (registration), however, a
different approach will probably be taken.
![Preview image](https://git.pattle.im/pattle/app/raw/v0.14.0/CHANGELOG/0.14.0.png)
### Get Pattle
- **Android**
- **[F-Droid](https://f-droid.org/en/packages/im.pattle.app/)**
- **[Google Play](https://play.google.com/store/apps/details?id=im.pattle.app)**
- **[iOS (TestFlight)](https://testflight.apple.com/join/uTytydST)**
### Issues or suggestions
If you stumble upon any issues or would like to suggest features,
[please do so here](https://git.pattle.im/pattle/app/issues)!
You can [login via GitHub and Gitlab.com](https://git.pattle.im/users/sign_in)!
### Follow development
Follow development in [#app:pattle.im](https://matrix.to/#/#app:pattle.im)!
\ No newline at end of file
......@@ -92,6 +92,8 @@ Future<void> _showNotification(Map<String, dynamic> message) async {
importance: Importance.Max,
priority: Priority.Max,
enableVibration: true,
playSound: true,
style: AndroidNotificationStyle.Messaging,
styleInformation: MessagingStyleInformation(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment