Skip to content

Commit d79afa9

Browse files
authored
Auth button added, firebase integration done on android (#3)
Google auth integration complete
1 parent f6bf3fe commit d79afa9

File tree

15 files changed

+271
-47
lines changed

15 files changed

+271
-47
lines changed

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"cSpell.words": [
3+
"cloud",
4+
"cupertino",
5+
"firestore",
6+
"icons"
7+
]
8+
}

android/app/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ android {
3737
}
3838

3939
defaultConfig {
40-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41-
applicationId "com.example.radlet_composer"
40+
applicationId "io.radlet.composer"
4241
minSdkVersion 16
4342
targetSdkVersion 28
4443
versionCode flutterVersionCode.toInteger()
4544
versionName flutterVersionName
4645
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
46+
multiDexEnabled true
4747
}
4848

4949
buildTypes {
@@ -64,4 +64,7 @@ dependencies {
6464
testImplementation 'junit:junit:4.12'
6565
androidTestImplementation 'androidx.test:runner:1.1.1'
6666
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
67+
implementation 'com.android.support:multidex:1.0.3'
6768
}
69+
70+
apply plugin: 'com.google.gms.google-services'

android/app/google-services.json

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"project_info": {
3+
"project_number": "463273249095",
4+
"firebase_url": "https://radlet.firebaseio.com",
5+
"project_id": "radlet",
6+
"storage_bucket": "radlet.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:463273249095:android:14e8b3d54439e132dde462",
12+
"android_client_info": {
13+
"package_name": "io.radlet.composer"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "463273249095-pr9cue97n68mmk099dqbd82uvjvqfkk6.apps.googleusercontent.com",
19+
"client_type": 1,
20+
"android_info": {
21+
"package_name": "io.radlet.composer",
22+
"certificate_hash": "da41bec82c07b4eb8849c7d6662e5e7323cbf9de"
23+
}
24+
},
25+
{
26+
"client_id": "463273249095-flgp4btptc1qd6ic0a49rh4stolepn33.apps.googleusercontent.com",
27+
"client_type": 3
28+
}
29+
],
30+
"api_key": [
31+
{
32+
"current_key": "AIzaSyC-qJGSZpjDu6QOqYnO1HN2jVgUIPjq9VY"
33+
}
34+
],
35+
"services": {
36+
"appinvite_service": {
37+
"other_platform_oauth_client": [
38+
{
39+
"client_id": "463273249095-flgp4btptc1qd6ic0a49rh4stolepn33.apps.googleusercontent.com",
40+
"client_type": 3
41+
}
42+
]
43+
}
44+
}
45+
}
46+
],
47+
"configuration_version": "1"
48+
}

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.radlet_composer">
2+
package="io.radlet.composer">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.radlet_composer">
2+
package="io.radlet.composer">
33
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
44
calls FlutterMain.startInitialization(this); in its onCreate method.
55
In most cases you can leave this as-is, but you if you want to provide

android/app/src/main/kotlin/com/example/radlet_composer/MainActivity.kt renamed to android/app/src/main/kotlin/io/radlet/composer/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.radlet_composer
1+
package io.radlet.composer
22

33
import androidx.annotation.NonNull;
44
import io.flutter.embedding.android.FlutterActivity

android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.radlet_composer">
2+
package="io.radlet.composer">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ buildscript {
88
dependencies {
99
classpath 'com.android.tools.build:gradle:3.5.0'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11+
classpath 'com.google.gms:google-services:4.3.3'
1112
}
1213
}
1314

assets/icons/google_icon.png

85 KB
Loading

lib/routes.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Routes {
1212

1313
Routes() {
1414
runApp(new MaterialApp(
15-
title: 'Lattice Conductor',
15+
title: 'Radlet Composer',
1616
theme: ThemeData(
1717
brightness: Brightness.dark,
1818
primaryColor: Colors.lightBlue[800],

0 commit comments

Comments
 (0)