-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
65 changed files
with
532 additions
and
735 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,58 @@ | ||
plugins { | ||
id "com.android.application" | ||
// START: FlutterFire Configuration | ||
id 'com.google.gms.google-services' | ||
// END: FlutterFire Configuration | ||
id "kotlin-android" | ||
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. | ||
id "dev.flutter.flutter-gradle-plugin" | ||
} | ||
|
||
def localProperties = new Properties() | ||
def localPropertiesFile = rootProject.file('local.properties') | ||
def localPropertiesFile = rootProject.file("local.properties") | ||
if (localPropertiesFile.exists()) { | ||
localPropertiesFile.withReader('UTF-8') { reader -> | ||
localPropertiesFile.withReader("UTF-8") { reader -> | ||
localProperties.load(reader) | ||
} | ||
} | ||
|
||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') | ||
def flutterVersionCode = localProperties.getProperty("flutter.versionCode") | ||
if (flutterVersionCode == null) { | ||
flutterVersionCode = '1' | ||
flutterVersionCode = "1" | ||
} | ||
|
||
def flutterVersionName = localProperties.getProperty('flutter.versionName') | ||
def flutterVersionName = localProperties.getProperty("flutter.versionName") | ||
if (flutterVersionName == null) { | ||
flutterVersionName = '1.0' | ||
flutterVersionName = "1.0" | ||
} | ||
|
||
android { | ||
namespace "com.kelvin.spotify_clone" | ||
compileSdk flutter.compileSdkVersion | ||
ndkVersion flutter.ndkVersion | ||
namespace = "com.kelvin.spotify_clone" | ||
compileSdk = flutter.compileSdkVersion | ||
ndkVersion = flutter.ndkVersion | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = '1.8' | ||
} | ||
|
||
sourceSets { | ||
main.java.srcDirs += 'src/main/kotlin' | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
defaultConfig { | ||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). | ||
applicationId "com.kelvin.spotify_clone" | ||
multiDexEnabled true | ||
applicationId = "com.kelvin.spotify_clone" | ||
// You can update the following values to match your application needs. | ||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. | ||
minSdkVersion 23 | ||
targetSdkVersion flutter.targetSdkVersion | ||
versionCode flutterVersionCode.toInteger() | ||
versionName flutterVersionName | ||
minSdk = flutter.minSdkVersion | ||
targetSdk = flutter.targetSdkVersion | ||
versionCode = flutterVersionCode.toInteger() | ||
versionName = flutterVersionName | ||
} | ||
|
||
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.debug | ||
} | ||
} | ||
} | ||
|
||
flutter { | ||
source '../..' | ||
} | ||
|
||
dependencies { | ||
implementation 'androidx.multidex:multidex:2.0.1' | ||
implementation platform('com.google.firebase:firebase-bom:33.0.0') | ||
implementation 'com.google.firebase:firebase-auth' | ||
source = "../.." | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,64 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.kelvin.spotify_clone"> <!-- Ensure this matches your actual package name --> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET" /> | ||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
|
||
<application | ||
android:label="spotify_clone" | ||
android:name="${applicationName}" | ||
android:icon="@mipmap/launcher_icon" | ||
android:enableOnBackInvokedCallback="true" | ||
android:usesCleartextTraffic="true"> | ||
|
||
|
||
|
||
android:icon="@mipmap/ic_launcher"> | ||
<activity | ||
android:name=".MainActivity" | ||
android:exported="true" | ||
android:launchMode="singleTop" | ||
android:taskAffinity="" | ||
android:theme="@style/LaunchTheme" | ||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" | ||
android:hardwareAccelerated="true" | ||
android:windowSoftInputMode="adjustResize"> | ||
<!-- Specifies an Android theme to apply to this Activity as soon as | ||
the Android process has started. This theme is visible to the user | ||
while the Flutter UI initializes. After that, this theme continues | ||
to determine the Window background behind the Flutter UI. --> | ||
<meta-data | ||
android:name="io.flutter.embedding.android.NormalTheme" | ||
android:resource="@style/NormalTheme" /> | ||
<meta-data | ||
android:name="flutter_deeplinking_enabled" | ||
android:value="true" /> | ||
|
||
|
||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN"/> | ||
<category android:name="android.intent.category.LAUNCHER"/> | ||
<action android:name="android.intent.action.VIEW" /> | ||
|
||
<category android:name="android.intent.category.DEFAULT" /> | ||
<category android:name="android.intent.category.BROWSABLE" /> | ||
<!-- Accepts URIs that begin with "example://gizmos” --> | ||
<data | ||
android:scheme="myapp" | ||
android:host="auth" /> | ||
</intent-filter> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
|
||
<!-- Existing Meta-Data for Flutter Embedding --> | ||
<!-- Don't delete the meta-data below. | ||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> | ||
<meta-data | ||
android:name="flutterEmbedding" | ||
android:value="2" /> | ||
</application> | ||
<!-- Required to query activities that can process text, see: | ||
https://developer.android.com/training/package-visibility and | ||
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. | ||
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> | ||
<queries> | ||
<intent> | ||
<action android:name="android.intent.action.PROCESS_TEXT"/> | ||
<data android:mimeType="text/plain"/> | ||
<action android:name="android.intent.action.PROCESS_TEXT" /> | ||
<data android:mimeType="text/plain" /> | ||
</intent> | ||
</queries> | ||
</manifest> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/AppAuth-AppAuthCore_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/AppAuth.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/Firebase.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/FirebaseAppCheckInterop.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...build/ios/Pods.build/Release-iphonesimulator/FirebaseAuth-FirebaseAuth_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/FirebaseAuth.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...build/ios/Pods.build/Release-iphonesimulator/FirebaseCore-FirebaseCore_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/FirebaseCore.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...uild/Release-iphonesimulator/FirebaseCoreInternal-FirebaseCoreInternal_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/FirebaseCoreInternal.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/Flutter.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...oid/build/ios/Pods.build/Release-iphonesimulator/GTMAppAuth-GTMAppAuth_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/GTMAppAuth.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...build/Release-iphonesimulator/GTMSessionFetcher-GTMSessionFetcher_Core_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...build/Release-iphonesimulator/GTMSessionFetcher-GTMSessionFetcher_Full_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/GTMSessionFetcher.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/GoogleSignIn-GoogleSignIn.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/GoogleSignIn.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...ios/Pods.build/Release-iphonesimulator/GoogleUtilities-GoogleUtilities_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/GoogleUtilities.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/Pods-RunnerTests.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
.../build/ios/Pods.build/Release-iphonesimulator/PromisesObjC-FBLPromises_Privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/PromisesObjC.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/RecaptchaInterop.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/audioplayers_darwin.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/firebase_auth.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/firebase_core.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...ds.build/Release-iphonesimulator/google_sign_in_ios-google_sign_in_ios_privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/google_sign_in_ios.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...ease-iphonesimulator/path_provider_foundation-path_provider_foundation_privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/path_provider_foundation.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
...id/build/ios/Pods.build/Release-iphonesimulator/sqflite-sqflite_darwin_privacy.build/dgph
Binary file not shown.
Binary file removed
BIN
-112 Bytes
android/build/ios/Pods.build/Release-iphonesimulator/sqflite.build/dgph
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
org.gradle.jvmargs=-Xmx4G | ||
org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError | ||
android.useAndroidX=true | ||
android.enableJetifier=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.