chore: autorouter migrate to v6#72
Conversation
rutajdash
left a comment
There was a problem hiding this comment.
-
Are we migrating to Material 3? If yes, why? If not, why was the design system changed?
-
Why is the coming soon page renamed to the expression page?
| signingConfigs { | ||
| release { | ||
| storeFile file(keystoreProperties['storeFile']) | ||
| storeFile file("key.jks") |
There was a problem hiding this comment.
Why was this change committed?
There was a problem hiding this comment.
@rutajdash
Sir, when i try to run the app with
storeFile file(keystoreProperties['storeFile'])
The following error pops up in the terminal

Launching lib/main.dart on SM E225F in debug mode...
FAILURE: Build failed with an exception.
-
Where:
Build file '/home/peeyushdas/Desktop/MONDAY MORNING 2023/project-pegasus/app/android/app/build.gradle' line: 85 -
What went wrong:
A problem occurred evaluating project ':app'.
path may not be null or empty string. path='null'
And then I searched for the issue on stackoverflow, and I got this solution:-
There was a problem hiding this comment.
Yes, we use a keystore properties file for production builds along with other credential files, which for obvious reasons is not shared to all developers.
For development, making this change is acceptable but it should not be committed but only kept on your local system.
| dependencies { | ||
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
| implementation 'com.google.android.material:material:1.7.0' | ||
| implementation 'com.google.android.material:material:1.6.1' |
|
|
||
| dependencies { | ||
| classpath 'com.android.tools.build:gradle:7.1.2' | ||
| classpath 'com.android.tools.build:gradle:7.0.4' |
| import 'package:mondaymorning/src/services/router/mm_router.dart'; | ||
| import 'package:mondaymorning/src/services/themes/index.dart'; | ||
| import 'package:mondaymorning/src/store/states/app_config/app_config_provider.dart'; | ||
| import 'services/router/mm_router.dart'; |
There was a problem hiding this comment.
| import 'services/router/mm_router.dart'; | |
| import 'package:mondaymorning/src/services/router/mm_router.dart'; |
Avoid using relative imports.
| import 'package:mondaymorning/src/ui/screens/full_error_screen.dart'; | ||
| import 'package:mondaymorning/src/ui/screens/full_loading_screen.dart'; | ||
|
|
||
| @RoutePage<dynamic>(name: 'ArticleRoute') |
There was a problem hiding this comment.
Why dynamic? This page doesn't return any data so it should be void instead.
| @RoutePage<dynamic>(name: 'ArticleRoute') | |
| @RoutePage<void>(name: 'ArticleRoute') |
| import 'package:mondaymorning/src/ui/components/article/article_carousel.dart'; | ||
| import 'package:mondaymorning/src/ui/components/category/sub_category_section.dart'; | ||
|
|
||
| @RoutePage<dynamic>(name: 'AllCategoryRoute') |
There was a problem hiding this comment.
| @RoutePage<dynamic>(name: 'AllCategoryRoute') | |
| @RoutePage<void>(name: 'AllCategoryRoute') |
| import 'package:mondaymorning/src/ui/components/home/search_app_bar.dart'; | ||
| import 'package:mondaymorning/src/services/router/mm_router.dart'; | ||
|
|
||
| @RoutePage<dynamic>(name: 'HomeRoute') |
There was a problem hiding this comment.
| @RoutePage<dynamic>(name: 'HomeRoute') | |
| @RoutePage<void>(name: 'HomeRoute') |
| } | ||
|
|
||
| /// More Screen of the app. | ||
| @RoutePage<dynamic>(name: 'MoreRoute') |
There was a problem hiding this comment.
| @RoutePage<dynamic>(name: 'MoreRoute') | |
| @RoutePage<void>(name: 'MoreRoute') |
| import 'package:mondaymorning/src/ui/components/article/article_carousel.dart'; | ||
| import 'package:mondaymorning/src/ui/components/article/small_article_card.dart'; | ||
|
|
||
| @RoutePage<dynamic>(name: 'SubCategoryRoute') |
There was a problem hiding this comment.
| @RoutePage<dynamic>(name: 'SubCategoryRoute') | |
| @RoutePage<void>(name: 'SubCategoryRoute') |
| import 'package:mondaymorning/src/ui/components/terms/terms_content.dart'; | ||
| import 'package:mondaymorning/src/services/router/mm_router.dart'; | ||
|
|
||
| @RoutePage<dynamic>(name: 'TermsRoute') |
There was a problem hiding this comment.
| @RoutePage<dynamic>(name: 'TermsRoute') | |
| @RoutePage<void>(name: 'TermsRoute') |
|
We need to make another PR as there is a change in the visibility of the repository. We can close this PR and start reviewing the other. |

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.
Linked Issues
Fixes
Description
Please describe your pull request.
❤️Thank you!
Post merge checklist