...
Clone the Repo → git clone https://github.com/misdwss/punjab-mgramseva.git
Navigate to mgramseva Folder → cd punjab-mgramseva/frontend/mgramseva
.upgrading the version in the pubspec.yml ( version: 1.0.2+3)
1.0.2 => version name (which displayed in playstore)+3 => version code (increment by +1 every time)
Replace the base Url with Prod Url.
File → app.config.dart
_baseUrl: window.location.origin + "/", => _baseUrl: "https://mgramseva-dwss.punjab.gov.in/ "Comment the below line
File → link
export 'dart:js' show allowInterop, allowInteropCaptureThis;Executing flutter clean command → flutter clean
Execute the flutter pub get command. → flutter pub get
Download the key-store from the below link
https://drive.google.com/file/d/14teTA0nqHaFLEkgg_LCHTcji5cRJDnXR/view?usp=sharing
Add this properties file to the android app folder as shown in below image
android → key.propertiesDownload the google service json from below link
https://drive.google.com/file/d/1USBY0a2sluHh2VwWxVcKhR7nzjkYnAmW/view?usp=sharing
Add this json file to the android app folder as shown in below image
android → app → google-services.jsonBuild the prod app bundle → flutter build appbundle
Kindly check the attached drive link below which includes key-store and version tracker.
https://docs.google.com/spreadsheets/d/1aH596FxtPISIlQzxw9jO_Ex1dttpJJvweib2F9nJj9o/edit#gid=0
...