mirror of
https://github.com/readest/readest.git
synced 2026-04-29 03:50:52 +00:00
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
Some checks are pending
Deploy to vercel on merge / build_and_deploy (push) Waiting to run
This commit is contained in:
parent
cbdd4940d0
commit
4e6f146b8f
9 changed files with 195 additions and 14 deletions
|
|
@ -773,4 +773,10 @@ class NativeBridgePlugin(private val activity: Activity): Plugin(activity) {
|
|||
path
|
||||
}
|
||||
}
|
||||
|
||||
fun triggerEvent(eventName: String, payload: JSObject) {
|
||||
activity.runOnUiThread {
|
||||
trigger(eventName, payload)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue