From bb7566426c109a8b5e2006b720765d3ad2fadff6 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Mon, 14 Mar 2022 08:40:03 -0500 Subject: [PATCH] Added Android build singing info --- .github/workflows/build_apk.yml | 17 ++++++++++++++++- mobile/lib/modules/home/ui/thumbnail_image.dart | 2 -- mobile/lib/modules/login/ui/login_form.dart | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.yml index a28fa0b383..643ad54000 100644 --- a/.github/workflows/build_apk.yml +++ b/.github/workflows/build_apk.yml @@ -13,7 +13,22 @@ jobs: working-directory: ./mobile steps: - uses: actions/checkout@v2 - + + # Sign + - uses: r0adkll/sign-android-release@v1 + name: Sign app APK + # ID used to access action output + id: sign_app + with: + releaseDirectory: mobile/build/app/outputs/apk/release + signingKeyBase64: ${{ secrets.SIGNING_KEY }} + alias: ${{ secrets.ALIAS }} + keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }} + keyPassword: ${{ secrets.KEY_PASSWORD }} + env: + # override default build-tools version (29.0.3) -- optional + BUILD_TOOLS_VERSION: "30.0.2" + # Build - uses: subosito/flutter-action@v2 with: diff --git a/mobile/lib/modules/home/ui/thumbnail_image.dart b/mobile/lib/modules/home/ui/thumbnail_image.dart index 49d8d5bf03..d0dcf13cf3 100644 --- a/mobile/lib/modules/home/ui/thumbnail_image.dart +++ b/mobile/lib/modules/home/ui/thumbnail_image.dart @@ -63,8 +63,6 @@ class ThumbnailImage extends HookConsumerWidget { ), ); } else { - debugPrint("Navigate to video player"); - AutoRouter.of(context).push( VideoViewerRoute( videoUrl: '${box.get(serverEndpointKey)}/asset/file?aid=${asset.deviceAssetId}&did=${asset.deviceId}', diff --git a/mobile/lib/modules/login/ui/login_form.dart b/mobile/lib/modules/login/ui/login_form.dart index f6e07c188a..a15707e9a5 100644 --- a/mobile/lib/modules/login/ui/login_form.dart +++ b/mobile/lib/modules/login/ui/login_form.dart @@ -15,7 +15,7 @@ class LoginForm extends HookConsumerWidget { Widget build(BuildContext context, WidgetRef ref) { final usernameController = useTextEditingController(text: 'testuser@email.com'); final passwordController = useTextEditingController(text: 'password'); - final serverEndpointController = useTextEditingController(text: 'http://192.168.1.216:2283'); + final serverEndpointController = useTextEditingController(text: 'http://192.168.1.103:2283'); return Center( child: ConstrainedBox(