Skip to content

Commit 94904ff

Browse files
committed
release 7.3.8
1 parent c210e1b commit 94904ff

File tree

7 files changed

+19
-8
lines changed

7 files changed

+19
-8
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
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+
110
# 7.3.6
211

312
* Fixed a bug with receiving push notifications when the application is closed in Android.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 Backendless
3+
Copyright (c) 2024 Backendless
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Follow the steps below to get started with Backendless Flutter SDK:
1919
To use this plugin in your Flutter project, add `backendless_sdk` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/):
2020
```dart
2121
dependencies:
22-
backendless_sdk: ^7.3.6
22+
backendless_sdk: ^7.3.8
2323
```
2424
#### STEP 2. Import the Backendless SDK:
2525
Add the following import to your Dart code

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ dependencies {
3838
implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.8'
3939
api 'com.google.firebase:firebase-messaging:20.0.0'
4040

41-
api 'com.backendless:android-client-sdk:7.0.3'
41+
api 'com.backendless:android-client-sdk:7.0.6'
4242
}

example/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dev_dependencies:
2323
intl: ^0.17.0
2424

2525
dependency_overrides:
26-
test_api: ^0.4.17
26+
test_api:
2727
# For information on the generic Dart part of this file, see the
2828
# following page: https://www.dartlang.org/tools/pub/pubspec
2929

lib/src/web/call_handlers/users.dart

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ class UserServiceCallHandler {
4343
call.arguments['password'], call.arguments['stayLoggedIn']))
4444
.then((value) => getUser(value));
4545
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);
4850
// case "Backendless.UserService.getCurrentUser":
4951
// return promiseToFuture(getCurrentUser(false))
5052
// then((value) => getUser(value));

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: backendless_sdk
22
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
44
homepage: https://backendless.com
55

66
environment:
7-
sdk: ">=2.12.0 <3.0.0"
7+
sdk: ">=2.14.0 <4.0.0"
88
flutter: ">=1.10.0"
99

1010
dependencies:

0 commit comments

Comments
 (0)