add javascript interface to android webView so messages can be sent from web to android

This commit is contained in:
Satindar Dhillon
2022-09-22 20:57:29 -07:00
parent 0f1607e61c
commit 1d619dda5d
6 changed files with 32 additions and 12 deletions

View File

@ -10,6 +10,7 @@ apple_extension_gen:
droid:
studio android/Omnivore
apple_webview_gen:
webview_gen:
yarn workspace @omnivore/appreader build
cp packages/appreader/build/bundle.js apple/OmnivoreKit/Sources/Views/Resources/bundle.js
cp packages/appreader/build/bundle.js android/Omnivore/app/src/main/assets/bundle.js