Skip to content

Commit 5ee2235

Browse files
author
Yevhen Podkovyrin
committed
Release 1.1.2
1 parent 2d94d9b commit 5ee2235

3 files changed

Lines changed: 17 additions & 15 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Flexa can be integrated using **package repository** or **locally**
2121

2222
Add module dependency in your project [module-level build.gradle](https://developer.android.com/studio/build#module-level) file:
2323
```groovy
24-
implementation 'co.flexa:core:1.1.0'
25-
implementation 'co.flexa:spend:1.1.0' // includes core library
24+
implementation 'co.flexa:core:1.1.2'
25+
implementation 'co.flexa:spend:1.1.2' // includes core library
2626
```
2727

2828

@@ -63,13 +63,13 @@ implementation 'co.flexa:spend:1.1.0' // includes core library
6363
**Identity** module:
6464

6565
```groovy
66-
implementation "com.flexa:core:1.1.0"
66+
implementation "com.flexa:core:1.1.2"
6767
```
6868

6969
**Spend** module:
7070

7171
```groovy
72-
implementation "com.flexa:spend:1.1.0"
72+
implementation "com.flexa:spend:1.1.2"
7373
```
7474

7575
### Local repository
@@ -98,13 +98,13 @@ dependencyResolutionManagement {
9898
**Identity** module:
9999

100100
```groovy
101-
implementation "com.flexa:core:1.1.0"
101+
implementation "com.flexa:core:1.1.2"
102102
```
103103

104104
**Spend** module:
105105

106106
```groovy
107-
implementation "com.flexa:spend:1.1.0"
107+
implementation "com.flexa:spend:1.1.2"
108108
```
109109

110110
## Usage

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ buildscript {
22
ext {
33
kotlinVersion = '1.9.21'
44

5-
sdk_version = '1.1.1'
5+
sdk_version = '1.1.2'
66
groupId = 'com.flexa'
77
core_version = sdk_version
88
scan_version = sdk_version

core/src/main/java/com/flexa/identity/IdentityNavGraph.kt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,16 @@ fun NavGraphBuilder.identityNavGraph(
9191
composable(
9292
Route.Entrance.name,
9393
) {
94-
if (deepLink != null) {
95-
navController.navigate(Route.SecretCode.createRoute(deepLink)) {
96-
popUpTo(navController.graph.id) { inclusive = true }
97-
}
98-
} else
99-
navController.navigate(Route.Main.name) {
100-
popUpTo(navController.graph.startDestinationId) { inclusive = true }
101-
}
94+
LaunchedEffect(Unit) {
95+
if (deepLink != null) {
96+
navController.navigate(Route.SecretCode.createRoute(deepLink)) {
97+
popUpTo(navController.graph.id) { inclusive = true }
98+
}
99+
} else
100+
navController.navigate(Route.Main.name) {
101+
popUpTo(navController.graph.startDestinationId) { inclusive = true }
102+
}
103+
}
102104
}
103105
composable(
104106
Route.Main.name,

0 commit comments

Comments
 (0)