Closed dheerajbred closed 3 years ago
If you see in the tools
directory, you'll find scripts to generate the env.dart
file. It is used to store the animetwist secret. And is generated during the CI.
https://github.com/meta-boy/Anime-Twist/blob/1c0ecbdc83f6839525e09d40b2ec791ccce45145/.github/workflows/main.yml#L34
About the Router
well, the version of flutter you are using has a Router
class which differs from the Router
momentum provides. You can follow this to fix this.
Welp ig that solves your issue, closing.
@meta-boy Sorry as I'm a beginner in flutter I can not build or test locally due to the .env.dart error. Can you please tell me how to test or build the apk. Thank you.
Ask the anime twist developers on their discord to give you the key, run this file https://github.com/meta-boy/Anime-Twist/blob/master/tools/env_from_cli.dart, it will generate the .env.dart file for you
I guess that answers your question, closing