Hi Gyuner,
You can find details on how to handle the communication between JS and Native part in this documentation section:
https://www.wikitude.com/external/doc/documentation/latest/ios/browsingpois.html#displaying-native-detail-screen
I hope this helps. Greetings
Nicola
Hi,
The receivedJSONObject function helps us to send json data to the view controller from js but how to archieve the opposite?
Hi,
Please have a look at the callJavascript reference in the iOS API documentation. This should be what you're looking for. It can be used to pass data to the ARchitect World or to notify it of external events.
Thx and greetings
Nicola
Gzeki
Hi,
We carefully reviewed the tutorials for iOS using javascript API where the recognition files and resources were statically embedded in the app bundle. As we download multiple updated recognition files to the document directory of the app dynamically we need to have two-way communication with running javascript inside the web view (which not seems to be accessible outside of the framework) to pass the proper recognition file.
How do you recommend to achieve this two way communication between JavaScript and iOS native App?
Thank you in advance!