Skip to content

Commit

Permalink
Merge pull request #4 from Shreemanarjun/update_app_support
Browse files Browse the repository at this point in the history
Update app support
  • Loading branch information
Shreemanarjun authored Sep 5, 2023
2 parents 26f4339 + 74a5962 commit 4b5d82c
Show file tree
Hide file tree
Showing 17 changed files with 1,267 additions and 185 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ jobs:
# with:
# api-level: 29
# script: flutter drive --driver=test_driver/main_test.dart --target integration_test/app_test.dart
- name: create Fat APK
run: flutter build apk --release
# - name: create Fat APK
# run: flutter build apk --release

- name: create Split APK
run: flutter build apk --split-per-abi

- name: Upload Fat APK
uses: actions/upload-artifact@v3
with:
name: release-fat-apk
path: build/app/outputs/apk/release/app-release.apk
# - name: Upload Fat APK
# uses: actions/upload-artifact@v3
# with:
# name: release-fat-apk
# path: build/app/outputs/apk/release/app-release.apk

- name: Upload Split APK
uses: actions/upload-artifact@v3
Expand All @@ -64,7 +64,6 @@ jobs:
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/*.apk, build/app/outputs/flutter-apk/*.apk"
tag: v${{ steps.read-version.outputs.version-number }}
token: ${{ secrets.TOKEN }}
generateReleaseNotes: true
- name: Checkout
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.0.2+3
- Auto update app version support
- Update settings for changelog view
-


# 1.0.2+2
- Update setting pages to add app info, bug report feature
- Added Localization
Expand Down
3 changes: 1 addition & 2 deletions lib/app/view/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import 'package:flutter_sharez/core/theme/theme_controller.dart';
import 'package:flutter_sharez/l10n/l10n.dart';
import 'package:flutter_sharez/shared/helper/global_helper.dart';
import 'package:flutter_sharez/shared/pods/locale_pod.dart';
import 'package:flutter_sharez/shared/widget/no_internet_widget.dart';

///This class holds Material App or Cupertino App
///with routing,theming and locale setup .
Expand Down Expand Up @@ -112,7 +111,7 @@ class _AppState extends ConsumerState<App> with GlobalHelper {
return Toast(
navigatorKey: navigatorKey,
child: child,
).monitorConnection();
);
},
);
}
Expand Down
13 changes: 13 additions & 0 deletions lib/core/router/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,18 @@ class AppRouter extends $AppRouter {
);
},
),
CustomRoute(
page: ChangelogRoute.page,
path: '/changeLog',
customRouteBuilder:
<T>(BuildContext context, Widget child, AutoRoutePage<T> page) {
return DialogRoute(
context: context,
// this is important
settings: page,
builder: (_) => child,
);
},
),
];
}
Loading

0 comments on commit 4b5d82c

Please sign in to comment.