I’m trying to use ionic in a native android app with webview.
How can I call java from ts and make a callback from java to ts ?
Since functions in ts are not in global scope, I dont not wether this can be done or not ?
The question may be How can java call ionic function in ts?
Hope I made myself clear.
Basically you are talking about cordova and how to create plugins
There are many available which provide you source code (read: all on github) and tons of documentation
Thanks for your reply. But I’m not using corodva. It’s a native app using webview to load htmls/js.