mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
9aa1cd756a
When we return JSON to the Java side it does not have the proper methods such as Contact.save() so we need to cast the JSON to the correct JS object. This used to be done from the Java layer calling the right method to cast the JSON. In this new approach the JavaScript layer will no what needs to be cast and call it's own internal function to do the cast. |
||
---|---|---|
.. | ||
js | ||
www |