feat(android): configure API and socket endpoints for debug and release builds
- Added API and socket base URLs for both debug and release configurations in gradle.properties. - Enhanced build.gradle.kts to utilize environment variables for dynamic endpoint configuration. - Updated debug build type with specific application ID suffix and version name suffix for better differentiation. - Included necessary dependencies for improved functionality and compatibility.
This commit is contained in:
@@ -2,3 +2,9 @@ org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
|
||||
android.useAndroidX=true
|
||||
kotlin.code.style=official
|
||||
android.nonTransitiveRClass=true
|
||||
|
||||
# Android backend endpoints (internal test setup)
|
||||
API_BASE_URL_DEBUG=https://tt-tagebuch.de/api/
|
||||
SOCKET_BASE_URL_DEBUG=https://tt-tagebuch.de:3051
|
||||
API_BASE_URL_RELEASE=https://tt-tagebuch.de/api/
|
||||
SOCKET_BASE_URL_RELEASE=https://tt-tagebuch.de:3051
|
||||
|
||||
Reference in New Issue
Block a user