meta-boy / Anime-Twist

Anime Twist (http://twist.moe/) app written in flutter. Discontinued untill further notice
MIT License
39 stars 8 forks source link

Question about building the APK #12

Closed dheerajbred closed 3 years ago

dheerajbred commented 3 years ago

image

meta-boy commented 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.

meta-boy commented 3 years ago

Welp ig that solves your issue, closing.

harsh760 commented 3 years ago

@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.

meta-boy commented 3 years ago

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

meta-boy commented 3 years ago

I guess that answers your question, closing