Skip to content

Commit

Permalink
First success build
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkhuraishy committed Mar 22, 2020
1 parent 0f127aa commit dfafbe0
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -35,3 +35,4 @@ lib/generated_plugin_registrant.dart

# Exceptions to above rules.
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
!/build/app/outputs/apk/app.apk
23 changes: 14 additions & 9 deletions README.md
@@ -1,21 +1,26 @@
# Covid Updates

![](assets/images/covid%2019.png)
![app-screenshot](assets/images/covid%2019.png)

A Flutter project inspired by @[tmrw](https://dribbble.com/tmrwstudio).
A Flutter project inspired by [@tmrw](https://dribbble.com/tmrwstudio).

## Done
## Download app

- Home Page
- Reports Page
- Symptoms Page
- [Android](build/app/outputs/apk/app.apk)

## ToDo

- Countries Page
- Prevention Page
- News Feature(Imp)
- IOS Build
- UI Updates
- Some cool animations

### Contributions are welcome
## Contributions are welcome

I will try to merge all pull requests before 48 hours.Happy coding

## Credits
- Corona API - [Ninja](https://corona.lmao.ninja/)

## Getting Started

Expand Down
1 change: 1 addition & 0 deletions android/.gitignore
Expand Up @@ -4,4 +4,5 @@ gradle-wrapper.jar
/gradlew
/gradlew.bat
/local.properties
/key.properties
GeneratedPluginRegistrant.java
19 changes: 17 additions & 2 deletions android/app/build.gradle
Expand Up @@ -21,6 +21,12 @@ if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
Expand All @@ -38,19 +44,28 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.covid_updates"
applicationId "io.github.ashishkhuraishy.covid_updates"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
signingConfig signingConfigs.release
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Expand Up @@ -5,9 +5,10 @@
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="io.flutter.app.FlutterApplication"
android:label="covid_updates"
android:label="Covid Updates"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/web_hi_res_512.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/doctor2.png
Binary file not shown.
Binary file removed assets/images/doctor3.jpg
Binary file not shown.
Binary file removed assets/images/doctor5.png
Binary file not shown.

0 comments on commit dfafbe0

Please sign in to comment.