-->

How to query or access JSONStore data from native

2019-08-18 20:37发布

问题:

My app (iOS) will have a browser built in native code and the rest in Javascript using Worklight and there's a requirement to have a shared persistent database with encryption capability for both.

JSONStore seems to have all the functionality I need, but it's only available with Javascript. Is there any way I can access it in the native code?

回答1:

The feature will be available in worklight 6.2, which is out now...



回答2:

Correct, JSONStore is only available in the hybrid (JavaScript) API. I am unable to commit to any features in upcoming releases, but I can say that have been a large number of people asking for pure native support in JSONStore. I will make sure your request gets capture as well.