-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b8a1eea
Showing
396 changed files
with
37,681 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# The .vscode folder contains launch configuration and tasks you configure in | ||
# VS Code which you may wish to be included in version control, so this line | ||
# is commented out by default. | ||
#.vscode/ | ||
|
||
# Flutter/Dart/Pub related | ||
**/doc/api/ | ||
**/ios/Flutter/.last_build_id | ||
.dart_tool/ | ||
.flutter-plugins | ||
.flutter-plugins-dependencies | ||
.packages | ||
.pub-cache/ | ||
.pub/ | ||
/build/ | ||
|
||
# Web related | ||
lib/generated_plugin_registrant.dart | ||
|
||
# Symbolication related | ||
app.*.symbols | ||
|
||
# Obfuscation related | ||
app.*.map.json | ||
|
||
# Android Studio will place build artifacts here | ||
/android/app/debug | ||
/android/app/profile | ||
/android/app/release | ||
|
||
# Android API keys go here | ||
/android/app/src/main/res/values/secrets.xml | ||
|
||
# Personal development screenshots go here | ||
/screenshots | ||
|
||
# iOS API Keys go here | ||
/ios/Flutter/Secrets.xcconfig | ||
|
||
# Ignore the Firebase files | ||
/android/app/google-services.json | ||
/ios/Runner/GoogleService-Info.plist | ||
|
||
# Ignore images related to release | ||
/assets/Release/* | ||
/web/icons/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This file tracks properties of this Flutter project. | ||
# Used by Flutter tool to assess capabilities and perform upgrades etc. | ||
# | ||
# This file should be version controlled and should not be manually edited. | ||
|
||
version: | ||
revision: 1d9032c7e1d867f071f2277eb1673e8f9b0274e3 | ||
channel: stable | ||
|
||
project_type: app |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# AntNupTracker | ||
|
||
![AntNupTracker basic features](assets/feature_graphic/feature_graphic.png) | ||
|
||
Client app for AntNupTracker for iOS and Android™, developed using the Flutter™ framework in Dart™. | ||
|
||
Copyright (C) 2020-2022 Abouheif Lab | ||
|
||
Welcome to the repository for the `AntNupTracker` app. A contribution guide is coming shortly. The code is designed to try to follow Dart and Flutter style. | ||
|
||
This app is a tool for browsing records of [ant nuptial flights](https://www.antnuptialflights.com/about/) and reporting new flights from the field. Visit our website at https://www.antnuptialflights.com for more details. For the server-side application that manages the database of ant nuptial flights, please go to [this repository](https://github.com/bzrudski/antnuptracker-server/). | ||
|
||
Our app is licensed under the GNU GPLv3 with App Store Exception (see `COPYING`). Therefore, the app is open source, but the binary can still be distributed through Apple's App Store and Google Play without violating their terms. (All source files say GPL, but the App Store Exception is applied to all files in this project in order to not defeat the purpose of this project.) | ||
|
||
In order to build, clone this repository and open it in an IDE. You may need to tweak a few settings. If you would like to test your modifications against a custom version of the backend, make sure that you change the `base` argument value in `url_manager.dart`. | ||
|
||
IOS is a trademark or registered trademark of Cisco in the U.S. and other countries. | ||
|
||
App Store and Xcode are trademarks of Apple Inc., registered in the U.S. and other countries. | ||
|
||
Android™ and Google Play are registered trademarks of Google LLC. | ||
|
||
Dart and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC. | ||
|
||
Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include: package:lints/recommended.yaml | ||
include: package:flutter_lints/flutter.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
gradle-wrapper.jar | ||
/.gradle | ||
/captures/ | ||
/gradlew | ||
/gradlew.bat | ||
/local.properties | ||
GeneratedPluginRegistrant.java | ||
|
||
# Remember to never publicly share your keystore. | ||
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app | ||
key.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
def localProperties = new Properties() | ||
def localPropertiesFile = rootProject.file('local.properties') | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withReader('UTF-8') { reader -> | ||
localProperties.load(reader) | ||
} | ||
} | ||
|
||
def flutterRoot = localProperties.getProperty('flutter.sdk') | ||
if (flutterRoot == null) { | ||
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") | ||
} | ||
|
||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') | ||
if (flutterVersionCode == null) { | ||
flutterVersionCode = '1' | ||
} | ||
|
||
def flutterVersionName = localProperties.getProperty('flutter.versionName') | ||
if (flutterVersionName == null) { | ||
flutterVersionName = '1.0' | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'com.google.gms.google-services' | ||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" | ||
|
||
def keystoreProperties = new Properties() | ||
def keystorePropertiesFile = rootProject.file("key.properties") | ||
if (keystorePropertiesFile.exists()) { | ||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) | ||
} | ||
|
||
android { | ||
compileSdkVersion 31 | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
} | ||
|
||
defaultConfig { | ||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||
applicationId "com.bzrudski.ant_nup_tracker" | ||
minSdkVersion 21 | ||
targetSdkVersion 31 | ||
versionCode flutterVersionCode.toInteger() | ||
versionName flutterVersionName | ||
} | ||
|
||
signingConfigs { | ||
release { | ||
keyAlias keystoreProperties['keyAlias'] | ||
keyPassword keystoreProperties['keyPassword'] | ||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null | ||
storePassword keystoreProperties['storePassword'] | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
// Signing with the debug keys for now, so `flutter run --release` works. | ||
// signingConfig signingConfigs.debug | ||
signingConfig signingConfigs.release | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source '../..' | ||
} | ||
|
||
dependencies { | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation platform('com.google.firebase:firebase-bom:28.3.1') | ||
implementation 'androidx.core:core-splashscreen:1.0.0-alpha02' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.bzrudski.ant_nup_tracker"> | ||
<!-- Flutter needs it to communicate with the running application | ||
to allow setting breakpoints, to provide hot reload, etc. | ||
--> | ||
<uses-permission android:name="android.permission.INTERNET"/> | ||
<application android:usesCleartextTraffic="true" android:label="@string/app_name"/> | ||
</manifest> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions
40
android/app/src/debug/res/drawable-v24/ic_launcher_dev_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:aapt="http://schemas.android.com/aapt" | ||
android:width="108dp" | ||
android:height="108dp" | ||
android:viewportWidth="108" | ||
android:viewportHeight="108"> | ||
<group android:scaleX="0.32914287" | ||
android:scaleY="0.32914287" | ||
android:translateX="19.44" | ||
android:translateY="19.44"> | ||
<path | ||
android:pathData="M-105,-107.56h420v314.45h-420z"> | ||
<aapt:attr name="android:fillColor"> | ||
<gradient | ||
android:startY="206.9" | ||
android:startX="104.260544" | ||
android:endY="-1.9367" | ||
android:endX="102.260544" | ||
android:type="linear"> | ||
<item android:offset="0" android:color="#FFD6E8DA"/> | ||
<item android:offset="1" android:color="#FF68C668"/> | ||
</gradient> | ||
</aapt:attr> | ||
</path> | ||
<path | ||
android:pathData="M-94.36,236.08a208.4,72.776 0,1 0,416.8 0a208.4,72.776 0,1 0,-416.8 0z"> | ||
<aapt:attr name="android:fillColor"> | ||
<gradient | ||
android:startY="163.32" | ||
android:startX="109.82" | ||
android:endY="259.27" | ||
android:endX="109.3" | ||
android:type="linear"> | ||
<item android:offset="0" android:color="#FFCA753D"/> | ||
<item android:offset="1" android:color="#FF563018"/> | ||
</gradient> | ||
</aapt:attr> | ||
</path> | ||
</group> | ||
</vector> |
Oops, something went wrong.