-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.1 #167
Version 1.1 #167
Conversation
@@ -91,11 +96,16 @@ import platform.darwin.OSStatus | |||
* every key, if the default behavior does not fit your needs. | |||
*/ | |||
@ExperimentalSettingsImplementation | |||
public class KeychainSettings(vararg defaultProperties: Pair<CFStringRef?, CFTypeRef?>) : Settings { | |||
public class KeychainSettings @ExperimentalSettingsApi constructor(vararg defaultProperties: Pair<CFStringRef?, CFTypeRef?>) : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little ambivalent about how I want to handle the fact that we directly expose a @ExperimentalForeignApi
-annotated type in this constructor. (I think this is the only place in the codebase where that happens in public API, unless there are others I missed). I think the natural thing to do would be to re-apply the annotation, but it's not applicable to constructors. So I landed on marking it @ExperimentalSettingsApi
instead. This lets the rest of the class go stable without depending on Kotlin stabilizing these APIs.
…ters, for platforms where it exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
multiplatform-settings-serialization/src/commonMain/kotlin/SettingsSerialization.kt
Show resolved
Hide resolved
multiplatform-settings/src/appleMain/kotlin/com/russhwolf/settings/KeychainSettings.kt
Outdated
Show resolved
Hide resolved
Also tweaks doc-related test-case
Includes Kotlin 1.9.10, AGP 8.1.2, Gradle 8.3, et al Also migrate Android to use gradle namespace config and remove AndroidManifest files where unneeded.
Sample app build failure is expected right now. Updates in-progress in there. |
Also remove JavaFX CI config in preparation for sample updates
…ings/KeychainSettings.kt Co-authored-by: Niklas Baudy <[email protected]>
Move things to recent AGP and JDK Remove tornado-fx sample
Just following what’s here https://developer.android.com/jetpack/compose/setup#kotlin
This is (copy/paste) based on compose Android app, but deliberately doesn't share code for now.
This branch contains changes that will be released as version 1.1. It includes fixes for issues #81 (superceding PR #117), #142, #157, #160, and #162.
TODO: