Skip to content

Commit

Permalink
update to latest beta
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonfournier committed Jul 22, 2024
1 parent 2b22864 commit 8e38d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ dependencies {
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
//implementation 'io.getunleash:unleash-android-proxy-sdk:0.5.0'
implementation "io.getunleash:unleash-android:0.1.2-beta.1"
implementation "io.getunleash:unleash-android:0.1.2-beta.3"
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class FirstFragment : Fragment() {
if (unleashClient.isEnabled("android-sdk-first-fragment-demo")) {
val bundle = Bundle()
val variant = unleashClient.getVariant("android-sdk-first-fragment-demo")
bundle.putString("argName", variant.payload?.value ?: variant.name)
bundle.putString("argName", variant.payload?.getValueAsString() ?: variant.name)
findNavController().navigate(R.id.action_FirstFragment_to_SecondFragment, bundle)
}
}
Expand Down

0 comments on commit 8e38d8a

Please sign in to comment.