Skip to content

Commit

Permalink
update kotlin & dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MoazSalem committed Jul 8, 2023
1 parent 44d7ff3 commit 22b3f9b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.7.10'
ext.kotlin_version = '1.9.0'
repositories {
google()
mavenCentral()
Expand Down
8 changes: 4 additions & 4 deletions lib/Bloc/ble_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@ class BleBloc extends Bloc<BleEvent, BleState> {
if (Platform.isAndroid) {
const AndroidIntent(
action: 'android.bluetooth.adapter.action.REQUEST_ENABLE',
).launch().catchError((e) => AppSettings.openBluetoothSettings());
).launch().catchError((e) => AppSettings.openAppSettings(type: AppSettingsType.bluetooth));
await Future.delayed(const Duration(seconds: 2));
} else {
AppSettings.openBluetoothSettings();
AppSettings.openAppSettings(type: AppSettingsType.bluetooth);
}
}

Expand All @@ -442,10 +442,10 @@ class BleBloc extends Bloc<BleEvent, BleState> {
if (Platform.isAndroid) {
const AndroidIntent(
action: 'android.settings.LOCATION_SOURCE_SETTINGS',
).launch().catchError((e) => AppSettings.openLocationSettings());
).launch().catchError((e) => AppSettings.openAppSettings(type: AppSettingsType.location));
await Future.delayed(const Duration(seconds: 2));
} else {
AppSettings.openLocationSettings();
AppSettings.openAppSettings(type: AppSettingsType.location);
}
}

Expand Down
12 changes: 6 additions & 6 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ packages:
dependency: "direct main"
description:
name: app_settings
sha256: "66715a323ac36d6c8201035ba678777c0d2ea869e4d7064300d95af10c3bb8cb"
sha256: "34c6b7dbf493d486b082f9538ea11b2ee665e7125618660555d5415592e78667"
url: "https://pub.dev"
source: hosted
version: "4.2.0"
version: "4.3.0"
args:
dependency: transitive
description:
Expand Down Expand Up @@ -213,10 +213,10 @@ packages:
dependency: "direct main"
description:
name: dynamic_color
sha256: "74dff1435a695887ca64899b8990004f8d1232b0e84bfc4faa1fdda7c6f57cc1"
sha256: de4798a7069121aee12d5895315680258415de9b00e717723a1bd73d58f0126d
url: "https://pub.dev"
source: hosted
version: "1.6.5"
version: "1.6.6"
easy_localization:
dependency: "direct main"
description:
Expand Down Expand Up @@ -609,10 +609,10 @@ packages:
dependency: "direct main"
description:
name: permission_handler
sha256: "37fcc3c3182ac0bf8856f3e973e11c7bef5556d69f1a0d8fb908f51019c2912d"
sha256: "415af30ba76a84faccfe1eb251fe1e4fdc790f876924c65ad7d6ed7a1404bcd6"
url: "https://pub.dev"
source: hosted
version: "10.4.1"
version: "10.4.2"
permission_handler_android:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ dependencies:
flutter_reactive_ble: ^5.1.1
bloc: ^8.1.2
flutter_bloc: ^8.1.3
dynamic_color: ^1.6.5
dynamic_color: ^1.6.6
cupertino_icons: ^1.0.5
hive: ^2.2.3
hive_flutter: ^1.1.0
easy_localization: ^3.0.2
android_intent_plus: ^4.0.1
app_settings: ^4.2.0
permission_handler: ^10.4.1
app_settings: ^4.3.0
permission_handler: ^10.4.2
flex_color_scheme: ^7.1.2
path_provider: ^2.0.15
samsung_ui_scroll_effect: ^0.0.5
Expand Down

0 comments on commit 22b3f9b

Please sign in to comment.