File tree 7 files changed +19
-8
lines changed
lib/src/web/call_handlers
7 files changed +19
-8
lines changed Original file line number Diff line number Diff line change
1
+ # 7.3.8
2
+
3
+ * Fixed bug in setCurrentUser method for web.
4
+
5
+ # 7.3.7
6
+
7
+ * Fixed error for push notifications in Android when app is closed.
8
+ * Updated dependency to Android-SDK to 7.0.6.
9
+
1
10
# 7.3.6
2
11
3
12
* Fixed a bug with receiving push notifications when the application is closed in Android.
Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2019 Backendless
3
+ Copyright (c) 2024 Backendless
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
this software and associated documentation files (the "Software"), to deal in
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Follow the steps below to get started with Backendless Flutter SDK:
19
19
To use this plugin in your Flutter project, add ` backendless_sdk ` as a [ dependency in your pubspec.yaml file] ( https://flutter.io/platform-plugins/ ) :
20
20
``` dart
21
21
dependencies:
22
- backendless_sdk: ^7.3.6
22
+ backendless_sdk: ^7.3.8
23
23
```
24
24
#### STEP 2. Import the Backendless SDK:
25
25
Add the following import to your Dart code
Original file line number Diff line number Diff line change @@ -38,5 +38,5 @@ dependencies {
38
38
implementation ' com.fasterxml.jackson.core:jackson-databind:2.9.8'
39
39
api ' com.google.firebase:firebase-messaging:20.0.0'
40
40
41
- api ' com.backendless:android-client-sdk:7.0.3 '
41
+ api ' com.backendless:android-client-sdk:7.0.6 '
42
42
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ dev_dependencies:
23
23
intl : ^0.17.0
24
24
25
25
dependency_overrides :
26
- test_api : ^0.4.17
26
+ test_api :
27
27
# For information on the generic Dart part of this file, see the
28
28
# following page: https://www.dartlang.org/tools/pub/pubspec
29
29
Original file line number Diff line number Diff line change @@ -43,8 +43,10 @@ class UserServiceCallHandler {
43
43
call.arguments['password' ], call.arguments['stayLoggedIn' ]))
44
44
.then ((value) => getUser (value));
45
45
case "Backendless.UserService.setCurrentUser" :
46
- return Future (() => setCurrentUser (
47
- call.arguments['currentUser' ], call.arguments ('stayLoggedIn' )));
46
+ BackendlessUser user = call.arguments['currentUser' ];
47
+ bool stayLoggedIn = call.arguments['stayLoggedIn' ];
48
+ Future (() => setCurrentUser (convertToJs (user.properties), stayLoggedIn));
49
+ return Future .value (null );
48
50
// case "Backendless.UserService.getCurrentUser":
49
51
// return promiseToFuture(getCurrentUser(false))
50
52
// then((value) => getUser(value));
Original file line number Diff line number Diff line change 1
1
name : backendless_sdk
2
2
description : Flutter plugin for Backendless SDK. It provides access to the Backendless services that enable the server-side functionality for developing and running mobile and desktop apps.
3
- version : 7.3.6
3
+ version : 7.3.8
4
4
homepage : https://backendless.com
5
5
6
6
environment :
7
- sdk : " >=2.12 .0 <3 .0.0"
7
+ sdk : " >=2.14 .0 <4 .0.0"
8
8
flutter : " >=1.10.0"
9
9
10
10
dependencies :
You can’t perform that action at this time.
0 commit comments