Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1.  Clone the Repo → git clone https://github.com/misdwss/punjab-mgramseva.git

  2. Navigate to mgramseva Folder → cd punjab-mgramseva/frontend/mgramseva

  3. .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)

  4. Replace the base Url with Prod Url.
    File → app.config.dart
    _baseUrl: window.location.origin + "/", =>    _baseUrl:  "https://mgramseva-dwss.punjab.gov.in/ "

  5. Comment the below line
    File → link
    export 'dart:js' show allowInterop, allowInteropCaptureThis;

  6. Executing flutter clean command →    flutter clean

  7. Execute the flutter pub get command. →  flutter pub get

  8. 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.properties

    Image RemovedImage Added
  9. Download 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.json

    Image RemovedImage Added
  10. Build the prod app bundle → flutter build appbundle
    Kindly check the attached drive link below which includes key-store, version tracker and version tracker.also updated the version and release date in sheet.
    Path → D:\mgramseva_prod\punjab-mgramseva\frontend\mgramseva\build\app\outputs\bundle\release\app-release.aab
    https://docs.google.com/spreadsheets/d/1aH596FxtPISIlQzxw9jO_Ex1dttpJJvweib2F9nJj9o/edit#gid=0

...




Steps to Run the Integration Test in your Android Device :
1. Enable USB debugging option in your Mobile Phone. ( Reference Link )

...