Hey everyone,

As some of you know I'm currently trying out if Servo can be used in
Cordova Android. I've made some good progress on my plugin [1] and now I
could use some help with getting plugins going.

If got the bride working with some hacky glue code and now some messages
like this are exchanged:

[ServoWS] Call to prompt []
gap:[1670500204,"Battery","start","Battery1880458036"] servo-bridge.js
<http://localhost:5000/plugins/cordova-plugin-servo-webview/www/servo-
bridge.js> [ServoWS] Intercepted gap: call [1670500204, "Battery",
"start", "Battery1880458036"] servo-bridge.js
<http://localhost:5000/plugins/cordova-plugin-servo-webview/www/servo-
bridge.js> [ServoWS] Call to prompt [false]
gap:[1670500204,"Geolocation","getPermission","Geolocation1880458037"]
servo-bridge.js <http://localhost:5000/plugins/cordova-plugin-servo-
webview/www/servo-bridge.js> [ServoWS] Intercepted gap: call
[1670500204, "Geolocation", "getPermission", "Geolocation1880458037"]
servo-bridge.js <http://localhost:5000/plugins/cordova-plugin-servo-
webview/www/servo-bridge.js> [ServoWS] Received message: 51 S11
Battery1880458036 {"level":59,"isPlugged":true}29 S01
Geolocation1880458037 n36 servo-bridge.js
<http://localhost:5000/plugins/cordova-plugin-servo-webview/www/servo-
bridge.js>
Can someone can point me to any kind documentation on how the plugin
bridge works? I've never looked into the part and if someone has any
info I could save some time digging through the code and reverse
engineering stuff.

The chances are slim, I know, but maybe there is something out there.

Cheers,
Niklas


[1] <https://github.com/NiklasMerz/cordova-plugin-servo-webview>

Reply via email to