Specify device name on login

parent 19db23f3
Pipeline #541 failed with stages
in 1 minute and 44 seconds
A new version has been pushed to F-Droid, Google Play and TestFlight!
Pattle is now available on [Google Play](https://play.google.com/store/apps/details?id=im.pattle.app)
and the [official F-Droid repository](https://f-droid.org/en/packages/im.pattle.app/)!
⚠️ **F-Droid users** ⚠️: The old repository (fdroid.pattle.im) is *gone*! Please
use the official F-Droid repository.
Expect the new version to be on most platforms in 2 days.
### Changes
- Fix UI not updating on sync!
- Add ability to send images from your gallery!
- Use Material Design on iOS (although with slight changes to fit iOS)
- Reporting errors to Sentry is now optional, you can choose so at login time
I do urge everyone to enable it to help me develop Pattle!
- Show a dialog with the option to choose between register and login
if the server does not have the ability to check for username availability
- Show notification count in chat overview
Default notifications will be grey, highlighted notifications will be red.
Chats with unread notifications will always show on top.
- Send read markers and receipts when a chat is opened for 2 seconds
- Add ability to show password while logging in
- Pattle will now show up as 'Pattle Android' or 'Pattle iOS' in the device
list
- Decrease spacing between items
- Fix spacing of messages when sending a new message
- Numerous other fixes
### 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)**
- **[APK](https://fdroid.pattle.im/pattle-0.11.0.apk)**
- **[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)!
### Support me
If you would like to support me, you can do so
via [Liberapay](https://liberapay.com/wilko/) and
[Patreon](https://www.patreon.com/pattle_im).
\ No newline at end of file
......@@ -190,7 +190,11 @@ class StartBloc extends Bloc {
subject: _loginSubj,
request: (addError) {
homeserver
.login(_username, password, store: di.getStore())
.login(_username, password,
store: di.getStore(),
device: Device(
name: 'Pattle ${Platform.isAndroid ? 'Android' : 'iOS'}',
))
.then((user) {
di.registerLocalUser(user);
AppBloc().notifyLogin();
......
......@@ -213,7 +213,7 @@ packages:
name: matrix_sdk
url: "https://pub.dartlang.org"
source: hosted
version: "0.23.4"
version: "0.23.7"
matrix_sdk_sqflite:
dependency: "direct main"
description:
......
......@@ -12,7 +12,7 @@ dependencies:
injector: ^1.0.8
matrix_sdk: ^0.23.4
matrix_sdk: ^0.23.7
matrix_sdk_sqflite: ^0.17.2
sqflite: ^1.1.6
......
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