Skip to content

Commit

Permalink
further upgrades for android gradle compatibility
Browse files Browse the repository at this point in the history
wakelock -> wakelock_plus
  • Loading branch information
RedyAu committed Mar 14, 2024
1 parent ada2ed3 commit f65bc22
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 72 deletions.
21 changes: 9 additions & 12 deletions .metadata
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
# This file should be version controlled and should not be manually edited.

version:
revision: f72efea43c3013323d1b95cff571f3c1caa37583
channel: stable
revision: "ba393198430278b6595976de84fe170f553cc728"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: android
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728
- platform: ios
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
- platform: windows
create_revision: f72efea43c3013323d1b95cff571f3c1caa37583
base_revision: f72efea43c3013323d1b95cff571f3c1caa37583
create_revision: ba393198430278b6595976de84fe170f553cc728
base_revision: ba393198430278b6595976de84fe170f553cc728

# User provided section

Expand Down
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:wakelock/wakelock.dart';
import 'package:wakelock_plus/wakelock_plus.dart';

import 'home_page.dart';
import 'settings_provider.dart';
Expand All @@ -9,7 +9,7 @@ void main() async {
WidgetsFlutterBinding.ensureInitialized();
// Enable wakelock for whole app.
// Doing this when only on song page properly would be very convoluted.
Wakelock.enable();
WakelockPlus.enable();

runApp(const Enekeskonyv());
}
Expand Down
44 changes: 18 additions & 26 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.0.6"
dbus:
dependency: transitive
description:
name: dbus
sha256: "365c771ac3b0e58845f39ec6deebc76e3276aa9922b0cc60840712094d9047ac"
url: "https://pub.dev"
source: hosted
version: "0.7.10"
diacritic:
dependency: "direct main"
description:
Expand Down Expand Up @@ -251,10 +259,10 @@ packages:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf
url: "https://pub.dev"
source: hosted
version: "0.6.7"
version: "0.7.1"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -748,38 +756,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "13.0.0"
wakelock:
wakelock_plus:
dependency: "direct main"
description:
name: wakelock
sha256: "78bad4822be81d37e7bc34b6990da7dface2a445255cd37c6f053b51a4ccdb3b"
name: wakelock_plus
sha256: "26ebc8b5e0037c15e2a1b661dcec8a475cb7205befcce8a33f545ae8c86b367c"
url: "https://pub.dev"
source: hosted
version: "0.4.0"
wakelock_macos:
version: "1.1.6"
wakelock_plus_platform_interface:
dependency: transitive
description:
name: wakelock_macos
sha256: "73581e5d9ed2dd1ba951375c30e63f0eb8c58d7d6286ae9ddf927b88f2aea8d9"
name: wakelock_plus_platform_interface
sha256: "40fabed5da06caff0796dc638e1f07ee395fb18801fbff3255a2372db2d80385"
url: "https://pub.dev"
source: hosted
version: "0.1.0+3"
wakelock_platform_interface:
dependency: transitive
description:
name: wakelock_platform_interface
sha256: d0a8a1c02af68077db5df1e0f5e2b745f7b1f2cdcc48e3e0b6f8f4dcc349050e
url: "https://pub.dev"
source: hosted
version: "0.2.1+3"
wakelock_web:
dependency: transitive
description:
name: wakelock_web
sha256: "06b0033d5421712138e7fa482ff5c6280fe12e0a41c40c3fe8fda2c007eb4348"
url: "https://pub.dev"
source: hosted
version: "0.2.0+3"
version: "1.1.0"
web:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
sdk: flutter
cupertino_icons: ^1.0.2
flutter_svg: ^2.0.4
wakelock: any
wakelock_plus: ^1.1.0
provider: ^6.0.4
shared_preferences: ^2.0.15
url_launcher: ^6.1.14
Expand All @@ -23,7 +23,7 @@ dependencies:
app_links: ^4.0.0
qr_flutter: ^4.1.0
share_plus: ^7.0.0
package_info_plus: ^5.0.1
package_info_plus: ^5.0.0

dev_dependencies:
integration_test:
Expand Down
30 changes: 0 additions & 30 deletions test/widget_test.dart

This file was deleted.

0 comments on commit f65bc22

Please sign in to comment.