Skip to content

Commit 784b20c

Browse files
committed
✨ updated project
1 parent 713c2fb commit 784b20c

103 files changed

Lines changed: 1308 additions & 825 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
disable = true

.metadata

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled.
4+
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
8-
channel: stable
7+
revision: "10644396b824e502ae28552234943d8a119af236"
8+
channel: "master"
99

1010
project_type: app
1111

1212
# Tracks metadata for the flutter migrate command
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
17-
base_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
16+
create_revision: 10644396b824e502ae28552234943d8a119af236
17+
base_revision: 10644396b824e502ae28552234943d8a119af236
1818
- platform: android
19-
create_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
20-
base_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
19+
create_revision: 10644396b824e502ae28552234943d8a119af236
20+
base_revision: 10644396b824e502ae28552234943d8a119af236
2121
- platform: ios
22-
create_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
23-
base_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
22+
create_revision: 10644396b824e502ae28552234943d8a119af236
23+
base_revision: 10644396b824e502ae28552234943d8a119af236
2424
- platform: linux
25-
create_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
26-
base_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
25+
create_revision: 10644396b824e502ae28552234943d8a119af236
26+
base_revision: 10644396b824e502ae28552234943d8a119af236
2727
- platform: macos
28-
create_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
29-
base_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
28+
create_revision: 10644396b824e502ae28552234943d8a119af236
29+
base_revision: 10644396b824e502ae28552234943d8a119af236
3030
- platform: web
31-
create_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
32-
base_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
31+
create_revision: 10644396b824e502ae28552234943d8a119af236
32+
base_revision: 10644396b824e502ae28552234943d8a119af236
3333
- platform: windows
34-
create_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
35-
base_revision: fb57da5f945d02ef4f98dfd9409a72b7cce74268
34+
create_revision: 10644396b824e502ae28552234943d8a119af236
35+
base_revision: 10644396b824e502ae28552234943d8a119af236
3636

3737
# User provided section
3838

README.md

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@ Please star⭐ the repo if you like what you see😊.
1414
[<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png" width="250">](https://play.google.com/store/apps/details?id=com.aditya.random_face_generator&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1)
1515
(or)
1616

17-
[<img src="https://images-na.ssl-images-amazon.com/images/G/01/mobile-apps/devportal2/res/images/amazon-appstore-badge-english-black.png" width="250">](https://www.amazon.com/gp/product/B09ZBGJR9G)
18-
(or)
19-
20-
[![Download apk](https://img.shields.io/badge/Download-apk-green)](https://github.com/adeeteya/Random-Face-Generator/releases/download/3.0.0/RFG-Android-3.0.0.apk)
17+
[![Download apk](https://img.shields.io/badge/Download-apk-green)](https://github.com/adeeteya/Random-Face-Generator/releases/download/3.0.1/RFG-Android-3.0.1.apk)
2118

2219
### Linux
2320

@@ -39,7 +36,7 @@ Please star⭐ the repo if you like what you see😊.
3936
```
4037

4138
### Windows
42-
[![Download exe](https://img.shields.io/badge/Download-exe-blue)](https://github.com/adeeteya/Random-Face-Generator/releases/download/3.0.0/RFG-Windows-3.0.0.exe)
39+
[![Download exe](https://img.shields.io/badge/Download-exe-blue)](https://github.com/adeeteya/Random-Face-Generator/releases/download/3.0.1/RFG-Windows-3.0.1.exe)
4340

4441
### Mac Os
4542
[![Download dmg](https://img.shields.io/badge/Download-dmg-lightgrey)](https://github.com/adeeteya/Random-Face-Generator/releases/download/2.1.0/RFG-Macos-2.1.0.dmg)
@@ -50,8 +47,8 @@ Please star⭐ the repo if you like what you see😊.
5047
## ✨ Features
5148

5249
- [x] Generate a Random Face
53-
- [x] Filter by Gender
54-
- [x] Filter by a Age Range
50+
- [] Filter by Gender (currently unavailable)
51+
- [] Filter by a Age Range (currently unavailable)
5552
- [x] Download Face Image
5653
- [x] Switch Theme Mode (Dark and Light)
5754
- [x] Responsive Design
@@ -61,29 +58,29 @@ Please star⭐ the repo if you like what you see😊.
6158

6259
- **Mobile**
6360

64-
| Light | Dark |
65-
| - | - |
66-
| <img src="screenshots/mobile-portrait-light.jpg"> | <img src="screenshots/mobile-portrait-dark.jpg"> |
61+
| Light | Dark |
62+
|----------------------------------------------------|---------------------------------------------------|
63+
| <img src="screenshots/mobile-portrait-light.jpg"> | <img src="screenshots/mobile-portrait-dark.jpg"> |
6764
| <img src="screenshots/mobile-landscape-light.jpg"> | <img src="screenshots/mobile-landscape-dark.jpg"> |
6865

6966
- **Desktop**
7067

71-
| Light | Dark |
72-
| - | - |
73-
| <img src="screenshots/web-expanded-light.jpg"> | <img src="screenshots/web-expanded-dark.jpg"> |
68+
| Light | Dark |
69+
|--------------------------------------------------|-------------------------------------------------|
70+
| <img src="screenshots/web-expanded-light.jpg"> | <img src="screenshots/web-expanded-dark.jpg"> |
7471
| <img src="screenshots/web-mobileview-light.jpg"> | <img src="screenshots/web-mobileview-dark.jpg"> |
7572

7673
## 🔌 Plugins
7774

78-
| Name | Usage |
79-
| - | - |
80-
| [**http**](https://pub.dev/packages/http) | Api Calls |
81-
| [**flutter_lints**](https://pub.dev/packages/flutter_lints) | For linting |
82-
| [**hive**](https://pub.dev/packages/hive) | For preference persistence |
83-
| [**hive_flutter**](https://pub.dev/packages/hive_flutter) | Extension for hive |
84-
| [**download**](https://pub.dev/packages/download) | For downloading the image |
85-
| [**path_provider**](https://pub.dev/packages/path_provider) | For getting the path to download the image |
86-
| [**flutter_native_splash**](https://pub.dev/packages/flutter_native_splash) | To show the splash screen |
75+
| Name | Usage |
76+
|-----------------------------------------------------------------------------|--------------------------------------------|
77+
| [**http**](https://pub.dev/packages/http) | Api Calls |
78+
| [**flutter_lints**](https://pub.dev/packages/flutter_lints) | For linting |
79+
| [**hive_ce**](https://pub.dev/packages/hive_ce) | For preference persistence |
80+
| [**hive_ce_flutter**](https://pub.dev/packages/hive_ce_flutter) | Extension for hive |
81+
| [**download**](https://pub.dev/packages/download) | For downloading the image |
82+
| [**path_provider**](https://pub.dev/packages/path_provider) | For getting the path to download the image |
83+
| [**flutter_native_splash**](https://pub.dev/packages/flutter_native_splash) | To show the splash screen |
8784

8885
## 🤓 Author
8986

SECURITY.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
## Supported Versions
44

55
| Version | Supported |
6-
|---------| ------------------ |
6+
|---------|--------------------|
7+
| 3.0.1 | :white_check_mark: |
78
| 3.0.0 | :white_check_mark: |
89
| 2.2.0 | :white_check_mark: |
910
| 2.1.0 | :white_check_mark: |
1011

1112
## Reporting a Vulnerability
1213

13-
Either mail to me at lightningbolt340@gmail.com or open a [Issue](www.github.com/Random-Face-Generator/issues)
14+
Either mail to me at adeeteya@gmail.com or open a [Issue](www.github.com/Random-Face-Generator/issues)

android/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ gradle-wrapper.jar
55
/gradlew.bat
66
/local.properties
77
GeneratedPluginRegistrant.java
8+
.cxx/
89

910
# Remember to never publicly share your keystore.
10-
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
# See https://flutter.dev/to/reference-keystore
1112
key.properties
1213
**/*.keystore
1314
**/*.jks

android/app/build.gradle

Lines changed: 0 additions & 80 deletions
This file was deleted.

android/app/build.gradle.kts

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import java.util.Properties
2+
import java.io.FileInputStream
3+
4+
plugins {
5+
id("com.android.application")
6+
id("kotlin-android")
7+
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
8+
id("dev.flutter.flutter-gradle-plugin")
9+
}
10+
11+
val keystorePropertiesFile = rootProject.file("key.properties")
12+
13+
val keystoreProperties = Properties()
14+
15+
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
16+
17+
android {
18+
namespace = "com.aditya.random_face_generator"
19+
compileSdk = flutter.compileSdkVersion
20+
ndkVersion = "27.0.12077973"
21+
22+
compileOptions {
23+
sourceCompatibility = JavaVersion.VERSION_11
24+
targetCompatibility = JavaVersion.VERSION_11
25+
}
26+
27+
kotlinOptions {
28+
jvmTarget = JavaVersion.VERSION_11.toString()
29+
}
30+
31+
defaultConfig {
32+
applicationId = "com.aditya.random_face_generator"
33+
minSdk = flutter.minSdkVersion
34+
targetSdk = flutter.targetSdkVersion
35+
versionCode = flutter.versionCode
36+
versionName = flutter.versionName
37+
}
38+
39+
signingConfigs {
40+
create("release") {
41+
keyAlias = keystoreProperties["keyAlias"] as String
42+
keyPassword = keystoreProperties["keyPassword"] as String
43+
storeFile = file(keystoreProperties["storeFile"] as String)
44+
storePassword = keystoreProperties["storePassword"] as String
45+
}
46+
}
47+
48+
buildTypes {
49+
getByName("debug") {
50+
signingConfig = signingConfigs.getByName("debug")
51+
}
52+
getByName("release") {
53+
signingConfig = signingConfigs.getByName("release")
54+
}
55+
}
56+
}
57+
58+
flutter {
59+
source = "../.."
60+
}

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.aditya.random_face_generator">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
<!-- The INTERNET permission is required for development. Specifically,
43
the Flutter tool needs it to communicate with the running application
54
to allow setting breakpoints, to provide hot reload, etc.

android/app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.aditya.random_face_generator">
3-
<uses-permission android:name="android.permission.INTERNET" />
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<uses-permission android:name="android.permission.INTERNET"/>
43
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
54
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
6-
<application
5+
<application
76
android:label="Random Face Generator"
87
android:name="${applicationName}"
98
android:icon="@mipmap/ic_launcher">
109
<activity
1110
android:name=".MainActivity"
1211
android:exported="true"
1312
android:launchMode="singleTop"
13+
android:taskAffinity=""
1414
android:theme="@style/LaunchTheme"
1515
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1616
android:hardwareAccelerated="true"
@@ -34,4 +34,15 @@
3434
android:name="flutterEmbedding"
3535
android:value="2" />
3636
</application>
37+
<!-- Required to query activities that can process text, see:
38+
https://developer.android.com/training/package-visibility and
39+
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
40+
41+
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
42+
<queries>
43+
<intent>
44+
<action android:name="android.intent.action.PROCESS_TEXT"/>
45+
<data android:mimeType="text/plain"/>
46+
</intent>
47+
</queries>
3748
</manifest>

android/app/src/main/kotlin/com/aditya/random_face_generator/MainActivity.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ package com.aditya.random_face_generator
22

33
import io.flutter.embedding.android.FlutterActivity
44

5-
class MainActivity: FlutterActivity() {
6-
}
5+
class MainActivity : FlutterActivity()

0 commit comments

Comments
 (0)