Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .env
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

# API_URL=https://app-dbef67eb-9a2e-44fa-abff-3e8b83204d9c.cleverapps.io/
# API_URL=https://node.shoy.publicvm.com/
API_URL=https://node.shoy.publicvm.com/
# API_URL=https://0ec88db618e2.ngrok-free.app/
# API_URL=https://67ee79b6365d.ngrok-free.app/
# Socket_Url=https://app-dbef67eb-9a2e-44fa-abff-3e8b83204d9c.cleverapps.io
# serverClientId=1096363232606-2fducjadk56bt4nsreqkj2jna7oiomga.apps.googleusercontent.com

giphyApiKey=Ahjpgfo4LVqCACHRcwj0eoMlY5s7u1Uq
Socket_Url=https://node.shoy.publicvm.com
serverClientId=1096363232606-2fducjadk56bt4nsreqkj2jna7oiomga.apps.googleusercontent.com
49 changes: 12 additions & 37 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,40 +1,16 @@
import java.util.Properties
import java.io.FileInputStream

plugins {
id("com.android.application")
id("kotlin-android")
id("dev.flutter.flutter-gradle-plugin")
id("com.google.gms.google-services")

}

android {
namespace = "com.Artemsia.lite_x"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

signingConfigs {
getByName("debug") {
storeFile = file("debug.keystore")
storePassword = "android"
keyAlias = "androiddebugkey"
keyPassword = "android"
}

create("release") {
val keystoreProperties = Properties()
val keystorePropertiesFile = rootProject.file("key.properties")
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(FileInputStream(keystorePropertiesFile))
}

storeFile = file(keystoreProperties["storeFile"] as String)
storePassword = keystoreProperties["storePassword"] as String
keyAlias = keystoreProperties["keyAlias"] as String
keyPassword = keystoreProperties["keyPassword"] as String
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand All @@ -45,33 +21,32 @@ android {
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.Artemsia.lite_x"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}

buildTypes {
getByName("debug") {
signingConfig = signingConfigs.getByName("debug")
}
getByName("release") {
signingConfig = signingConfigs.getByName("release")
isMinifyEnabled = false
isShrinkResources = false
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.getByName("debug")
}
}
}


}

dependencies {
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation(platform("com.google.firebase:firebase-bom:33.5.1"))
implementation("com.google.firebase:firebase-messaging")
}


flutter {
source = "../.."
}
}
21 changes: 14 additions & 7 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
{
"project_info": {
"project_number": "112144721859",
"project_id": "psychic-fin-474008-h8",
"storage_bucket": "psychic-fin-474008-h8.firebasestorage.app"
"project_number": "123824690535",
"project_id": "litex-3c6f1",
"storage_bucket": "litex-3c6f1.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:112144721859:android:227c69fccfe2ec4c813f76",
"mobilesdk_app_id": "1:123824690535:android:f0760abf0029e802960bc2",
"android_client_info": {
"package_name": "com.Artemsia.lite_x"
}
},
"oauth_client": [
{
"client_id": "112144721859-3i16bpjr6jd704h3imdsp4ojodv7t64l.apps.googleusercontent.com",
"client_id": "123824690535-52cesp7okt1d8j63pn7su9rtmi0asq0b.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAPqcctNBpWkQ-BKvYsHUEjvc_iwPBwsZ0"
"current_key": "AIzaSyDYiU34-5-Rr2nP_SHphvLSIiOyr4RuC8I"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "112144721859-3i16bpjr6jd704h3imdsp4ojodv7t64l.apps.googleusercontent.com",
"client_id": "123824690535-52cesp7okt1d8j63pn7su9rtmi0asq0b.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "123824690535-5pta8j3mu07g0bb21n43n8q2vuulrstr.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.example.litex"
}
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="myapp"
android:host="login"
android:pathPrefix="/success" />
<data android:scheme="https"
android:host="app-dbef67eb-9a2e-44fa-abff-3e8b83204d9c.cleverapps.io"
android:pathPrefix="/login/success" />
</intent-filter>
</activity>
<activity android:name="com.yalantis.ucrop.UCropActivity"
Expand Down
Loading
Loading