Skip to content

Commit 7fcd2e3

Browse files
committed
Added login screen using firebase with animation & state management
1 parent 6d44675 commit 7fcd2e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+630
-237
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ migrate_working_dir/
3232
.pub/
3333
/build/
3434

35-
# Web related
36-
lib/generated_plugin_registrant.dart
37-
3835
# Symbolication related
3936
app.*.symbols
4037

.metadata

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file should be version controlled.
55

66
version:
7-
revision: f1875d570e39de09040c8f79aa13cc56baab8db1
7+
revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
88
channel: stable
99

1010
project_type: app
@@ -13,26 +13,26 @@ project_type: app
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
17-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
16+
create_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
17+
base_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
1818
- platform: android
19-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
20-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
19+
create_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
20+
base_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
2121
- platform: ios
22-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
23-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
22+
create_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
23+
base_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
2424
- platform: linux
25-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
26-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
25+
create_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
26+
base_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
2727
- platform: macos
28-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
29-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
28+
create_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
29+
base_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
3030
- platform: web
31-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
32-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
31+
create_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
32+
base_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
3333
- platform: windows
34-
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
35-
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
34+
create_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
35+
base_revision: 52b3dc25f6471c27b2144594abb11c741cb88f57
3636

3737
# User provided section
3838

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# music_player_app
1+
# rhythm
22

33
A new Flutter project.
44

android/app/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ if (flutterVersionName == null) {
2323

2424
apply plugin: 'com.android.application'
2525
apply plugin: 'kotlin-android'
26+
apply plugin: 'com.google.gms.google-services'
2627
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2728

2829
android {
@@ -44,10 +45,10 @@ android {
4445

4546
defaultConfig {
4647
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
47-
applicationId "com.example.music_player_app"
48+
applicationId "com.example.rhythm"
4849
// You can update the following values to match your application needs.
4950
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
50-
minSdkVersion flutter.minSdkVersion
51+
minSdkVersion 19
5152
targetSdkVersion flutter.targetSdkVersion
5253
versionCode flutterVersionCode.toInteger()
5354
versionName flutterVersionName
@@ -68,5 +69,7 @@ flutter {
6869
}
6970

7071
dependencies {
72+
implementation platform('com.google.firebase:firebase-bom:31.0.3')
73+
implementation 'com.google.firebase:firebase-analytics'
7174
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
7275
}

android/app/google-services.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"project_info": {
3+
"project_number": "906590626811",
4+
"project_id": "rhythm-897e5",
5+
"storage_bucket": "rhythm-897e5.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:906590626811:android:ad65a21bc356eb79a4e15e",
11+
"android_client_info": {
12+
"package_name": "com.example.rhythm"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "906590626811-k0ane998oos5fqvmt7ptbrt08gp8vj90.apps.googleusercontent.com",
18+
"client_type": 1,
19+
"android_info": {
20+
"package_name": "com.example.rhythm",
21+
"certificate_hash": "1399d3566ba19d8de4eadcbd37abd27696b5f3e0"
22+
}
23+
},
24+
{
25+
"client_id": "906590626811-0mm10pm07irp128e4ancbs5vf18vdgk5.apps.googleusercontent.com",
26+
"client_type": 3
27+
}
28+
],
29+
"api_key": [
30+
{
31+
"current_key": "AIzaSyD4mPJ_kibZM0FP_rHokH1Yj8W7BCje-8c"
32+
}
33+
],
34+
"services": {
35+
"appinvite_service": {
36+
"other_platform_oauth_client": [
37+
{
38+
"client_id": "906590626811-0mm10pm07irp128e4ancbs5vf18vdgk5.apps.googleusercontent.com",
39+
"client_type": 3
40+
}
41+
]
42+
}
43+
}
44+
}
45+
],
46+
"configuration_version": "1"
47+
}

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.music_player_app">
2+
package="com.example.rhythm">
33
<!-- The INTERNET permission is required for development. Specifically,
44
the Flutter tool needs it to communicate with the running application
55
to allow setting breakpoints, to provide hot reload, etc.

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.music_player_app">
2+
package="com.example.rhythm">
33

44
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
55
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.example.rhythm
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity() {
6+
}
-2.82 KB
Loading
-1.75 KB
Loading

0 commit comments

Comments
 (0)