Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 2.19 KB

README.md

File metadata and controls

55 lines (35 loc) · 2.19 KB

Ant Nuptial Flight Predictor

A basic Flutter application with an Android home screen app widget. Works on Android, IOS and Web.

Web App: https://nuptialflight.app/

Ant Nuptial Flight Predictor downloads the weather in your current location and gives you the rough likelihood that queen ants are flying near you today and for the next week. When the percentage is high, time to get outside and looking for ants in your local area!

The Science

Originally I used these papers to inform the algorithms in the app:

Newer versions of the app use Data Science algorithms, for example Random Forest over user-contributed data.

Getting Started

Build in Android Studio.

The following commands were useful:

flutter pub pub run flutter_automation --android-sign
flutter packages pub run flutter_launcher_icons:main
flutter --no-color build appbundle

Dependency upgrade instruction:

flutter pub upgrade --major-versions

You'll need to create a file at assets/.env with a line:

OPENWEATHERMAP_API_KEY=<your secret key>

setting your free https://home.openweathermap.org/api_keys key.

Attribution

Code originally forked from https://github.com/ashgarg143/AppWidgetFlutter

Thanks for the Ant Icon by Vladyslav Severyn on Iconscout.