Skip to content

Commit

Permalink
AUesome app - First Push
Browse files Browse the repository at this point in the history
  • Loading branch information
kath-hua committed Sep 2, 2022
1 parent 1672341 commit 17a9a61
Show file tree
Hide file tree
Showing 69 changed files with 3,774 additions and 5,190 deletions.
15 changes: 7 additions & 8 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (localPropertiesFile.exists()) {

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.")
throw GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
Expand All @@ -28,11 +28,8 @@ apply plugin: 'com.google.gms.google-services'


android {
compileSdkVersion 30
aaptOptions {
noCompress 'tflite'
noCompress 'lite'
}
compileSdkVersion 33

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
Expand All @@ -44,9 +41,9 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.object_detection"
applicationId "com.example.auesome"
minSdkVersion 21
targetSdkVersion 29
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand All @@ -67,4 +64,6 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:17.0.0'
implementation platform('com.google.firebase:firebase-bom:30.3.2')
implementation 'com.google.firebase:firebase-analytics-ktx'
}
23 changes: 15 additions & 8 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
{
"project_info": {
"project_number": "523092540024",
"project_id": "visual-aid-app",
"storage_bucket": "visual-aid-app.appspot.com"
"project_number": "496568699182",
"project_id": "auesome-fc164",
"storage_bucket": "auesome-fc164.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:523092540024:android:a89c0f3439bbcf83054b8d",
"mobilesdk_app_id": "1:496568699182:android:caaa8fc0f45993284852bf",
"android_client_info": {
"package_name": "com.example.object_detection"
"package_name": "com.example.auesome"
}
},
"oauth_client": [
{
"client_id": "523092540024-f5ko0lg21bvr4flc215bmsvqo4e6hf9u.apps.googleusercontent.com",
"client_id": "496568699182-toojb794jfk5mueq315v8f2vc1do0vh0.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDi4B5GmtFakK96_Rto0XYo_mLqvkcXP-0"
"current_key": "AIzaSyD2VIBJ94SkvP7rZhJe6V7Ur0CHBifLBN4"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "523092540024-f5ko0lg21bvr4flc215bmsvqo4e6hf9u.apps.googleusercontent.com",
"client_id": "496568699182-toojb794jfk5mueq315v8f2vc1do0vh0.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "496568699182-h47a0uudgk170kgnbdmsvelmei834j5v.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.user.kathy"
}
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.object_detection">
package="com.example.auesome">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
7 changes: 4 additions & 3 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.object_detection">
package="com.example.auesome">
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.INTERNET"/>
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
Expand All @@ -8,11 +8,12 @@
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="object_detection"
android:name="${applicationName}"
android:label="AUesome"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.example.object_detection
package com.example.auesome

import io.flutter.embedding.android.FlutterActivity

Expand Down
9 changes: 6 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
buildscript {
ext.kotlin_version = '1.4.32'
ext.kotlin_version = '1.6.0'
repositories {
google()
jcenter()
mavenCentral() // Maven Central repository
}

dependencies {
classpath 'com.android.tools.build:gradle:4.0.0'
classpath 'com.android.tools.build:gradle:7.0.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.8'
//classpath 'com.google.gms:google-services:4.3.8'
classpath 'com.google.gms:google-services:4.3.13'
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral() // Maven Central repository
}
}

Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
Binary file added assets/FontsFree-Net-SFProDisplay-Regular.ttf
Binary file not shown.
Binary file removed assets/detect.tflite
Binary file not shown.
Binary file added assets/images/appbar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/auesome_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 0 additions & 91 deletions assets/labelmap.txt

This file was deleted.

Binary file removed assets/listening.mp3
Binary file not shown.
Binary file removed assets/ssd_mobilenet.tflite
Binary file not shown.
Empty file removed assets/trafficlights.txt
Empty file.
2 changes: 0 additions & 2 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
/* Begin PBXBuildFile section */
1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
3C8E3E958CF35C847584F741 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CD3E6D373D44B691ADA6B10F /* Pods_Runner.framework */; };
44173C8026BCB75E00317669 /* Podfile copy in Resources */ = {isa = PBXBuildFile; fileRef = 44173C7F26BCB75E00317669 /* Podfile copy */; };
44173C8226BCB76F00317669 /* Podfile copy.lock in Resources */ = {isa = PBXBuildFile; fileRef = 44173C8126BCB76F00317669 /* Podfile copy.lock */; };
44173C8426BCB77F00317669 /* Podfile.lock in Resources */ = {isa = PBXBuildFile; fileRef = 44173C8326BCB77F00317669 /* Podfile.lock */; };
Expand Down Expand Up @@ -60,7 +59,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
3C8E3E958CF35C847584F741 /* Pods_Runner.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
34 changes: 34 additions & 0 deletions ios/Runner/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CLIENT_ID</key>
<string>496568699182-h47a0uudgk170kgnbdmsvelmei834j5v.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.496568699182-h47a0uudgk170kgnbdmsvelmei834j5v</string>
<key>API_KEY</key>
<string>AIzaSyBJzJn7yYkuzHp0Tdt8H-Ms3vz-2BQQ1zQ</string>
<key>GCM_SENDER_ID</key>
<string>496568699182</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.user.kathy</string>
<key>PROJECT_ID</key>
<string>auesome-fc164</string>
<key>STORAGE_BUCKET</key>
<string>auesome-fc164.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:496568699182:ios:87bd07bdff7693234852bf</string>
</dict>
</plist>
2 changes: 2 additions & 0 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>io.flutter.embedded_views_preview</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
Expand Down
7 changes: 7 additions & 0 deletions ios/firebase_app_id_file.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"file_generated_by": "FlutterFire CLI",
"purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
"GOOGLE_APP_ID": "1:496568699182:ios:7f1fff4fbd3218bd4852bf",
"FIREBASE_PROJECT_ID": "auesome-fc164",
"GCM_SENDER_ID": "496568699182"
}
Loading

0 comments on commit 17a9a61

Please sign in to comment.