Releases: MFlisar/ComposeChangelog
Releases · MFlisar/ComposeChangelog
1.0.0
first KMP release
Check out the docs - especially the usage section - to see how the new KMP version must be used now.
Generally following must be adjusted in android:
Statesaver creation looks like following now
val changelogStateSaver = remember {
ChangelogStateSaverPreferences.create(context)
}
// ALTERNATIVE: if you use my kotpreference library like this demo you can do following:
val changelogStateSaverKotPrefs = remember {
ChangelogStateSaverKotPreferences(DemoPrefs.lastShownVersionForChangelog)
}
Showing the changelog looks like following now:
val versionName = ChangelogUtil.getAppVersionName(context)
ShowChangelogDialogIfNecessary(changelogStateSaver, versionName, setup)
Or alternatively, the manual dialog:
ShowChangelogDialog(setup) {
// this is the dismiss callback, here we must reset the showChangelog flag
showChangelog = false
}
0.5.0-test14
0.5.0-test13
Full Changelog: 0.5.0-test12...0.5.0-test13
0.5.0-test12
Full Changelog: 0.5.0-test11...0.5.0-test12
0.5.0-test11
0.5.0-test10
Full Changelog: 0.5.0-test09...0.5.0-test10
0.5.0-test09
Full Changelog: 0.5.0-test08...0.5.0-test09
0.5.0-test08
Full Changelog: 0.5.0-test07...0.5.0-test08
0.5.0-test07
Full Changelog: 0.5.0-test06...0.5.0-test07
0.5.0-test06
Full Changelog: 0.5.0-test05...0.5.0-test06