Skip to content

Call Rust from Kotlin (Android) #10695

Answered by FabianLars
BSteffaniak asked this question in Q&A
Discussion options

You must be logged in to vote

(currently) not "unprompted". You can only register event listeners in Rust or use the Channel api. The (wip) geolocation plugin uses the channel approach too: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/geolocation/src/mobile.rs#L47-L82

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@FabianLars
Comment options

Answer selected by BSteffaniak
@BSteffaniak
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants