atsign-foundation/at_app

at_app demo template needs to edit android/app/build.gradle file for app to run

Closed this issue · 0 comments

Describe the bug
When creating and @ app from a demo template it is expected that the app should just run without any editing of the files created. However one of the dependences @ apps have is https://pub.dev/packages/biometric_storage which needs a few files edited before it will run on android.

Make sure to use the latest kotlin version:
android/build.gradle: ext.kotlin_version = '1.4.31'

To Reproduce
Steps to reproduce the behavior:

  1. create a demo template in at_app
  2. Then create the app for example dart run at_app/bin/at_app.dart create -d snackbar --local s:\TEMP\test5
  3. And then try and run the app with flutter run which will fail due to the kotlin version issue

Expected behavior
flutter run to work and run the app without any need of editing other files

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Windows
PS S:\TEMP\test4> flutter --version
Flutter 2.8.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 77d935af4d (5 hours ago) • 2021-12-16 08:37:33 -0800
Engine • revision 890a5fca2e
Tools • Dart 2.15.1
PS S:\TEMP\test4>