feat(android): support opening shared files from other apps, closes #2484 (#2628)
Some checks are pending
Deploy to vercel on merge / build_and_deploy (push) Waiting to run

This commit is contained in:
Huang Xin 2025-12-06 01:13:06 +08:00 committed by GitHub
parent cbdd4940d0
commit 4e6f146b8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 195 additions and 14 deletions

View file

@ -773,4 +773,10 @@ class NativeBridgePlugin(private val activity: Activity): Plugin(activity) {
path
}
}
fun triggerEvent(eventName: String, payload: JSObject) {
activity.runOnUiThread {
trigger(eventName, payload)
}
}
}