mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-10-20 18:56:25 +00:00
* test(splash): the initial destination is navigated to once * fix(splash): navigate to the first screen once The splash screen asks for the initial destination on every onResume, which runs again when the activity is recreated during startup while the view model survives. The second navigation found the first already on the welcome screen, with no route from there, and crashed the app with 'Unknown case for welcomeFragment'. The view model now starts it once.
43 lines
973 B
Groovy
43 lines
973 B
Groovy
apply plugin: 'kotlin-parcelize'
|
|
|
|
android {
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
namespace 'io.novafoundation.nova.splash'
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation project(':common')
|
|
implementation project(':feature-account-api')
|
|
implementation project(':feature-versions-api')
|
|
|
|
implementation kotlinDep
|
|
|
|
implementation androidDep
|
|
|
|
implementation daggerDep
|
|
ksp daggerCompiler
|
|
|
|
implementation lifecycleDep
|
|
ksp lifecycleCompiler
|
|
|
|
testImplementation jUnitDep
|
|
testImplementation mockitoDep
|
|
testImplementation project(':test-shared')
|
|
|
|
implementation coroutinesDep
|
|
implementation coroutinesAndroidDep
|
|
implementation viewModelKtxDep
|
|
implementation liveDataKtxDep
|
|
}
|