Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds new
wp_mobile
crate for the application layer and updates the Kotlin bindings to use it. Includes several fixes for the Compose desktop app and Android Studio warnings.Changes
Rust Changes
wp_mobile
crate that depends onwp_api
for application-layer functionalitywp_mobile
andwp_api
from a single compiled library using library modewp_api/uniffi.toml
to usecdylib_name = "wp_mobile"
Kotlin/Android Changes
wp_mobile
as the primary module instead ofwp_api
rustModuleName
torustPrimaryModule
for clarity1.6.11
to1.9.0
(compatible with Kotlin 2.1)URL(String)
constructor warnings by usingURI(String).toURL()
Desktop App Improvements
NativeLibraryLoader
to extract and load WordPress native libraries from JAR at runtimeBuildConfig
at build time with Rust module nameTestCredentials
at build time fromtest_credentials.json
to eliminate hardcoded credentials