Skip to content

Commit

Permalink
Remove error uploading to play console
Browse files Browse the repository at this point in the history
  • Loading branch information
guyluz11 committed Dec 29, 2023
1 parent 3e5b8fb commit 0678b2b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>

<application
android:label="CyBear Jinni"
Expand Down
17 changes: 7 additions & 10 deletions lib/presentation/pages/splash_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,13 @@ class _SplashPageState extends State<SplashPage> {
_navigate();
}

Future _navigate() async {
(await ILocalDbRepository.instance.getHubEntityNetworkName()).fold(
(l) async {
if (kIsWeb || Platform.isLinux || Platform.isWindows) {
return context.router.replace(const ConnectToHubRoute());
}
return context.router.replace(const IntroductionRouteRoute());
},
(r) => context.router.replace(const HomeRoute()),
);
void _navigate() {
if (kIsWeb || Platform.isLinux || Platform.isWindows) {
context.router.replace(const ConnectToHubRoute());
return;
}
context.router.replace(const IntroductionRouteRoute());
return;
}

@override
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cybearjinni
description: CyBear Jinni app to interact with your CyBear Jinni Smart Devices
version: 1.4.3+67
version: 1.4.5+69
homepage: https://cybearjinni.com

publish_to: 'none'
Expand Down

0 comments on commit 0678b2b

Please sign in to comment.