You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to change the UI on Screen A, depending on events which occur in the Wikitude Javascript SDK, running in the sceneUrl loaded via startAR into the iOS SDK (i know this sounds crazy).
Is it somehow possible to pass data from the Wikitude Screen back to a React Native Screen and vice versa?
PS: This "overlay" approach seems to have other issues as well. Would it be possible to convert the Wikitude Screen into a "real" react component which can be used in other componets (e.g. View)? As far as i understand the code base, react-native-wikitude creates "just" a native iOS / Android View (which fires up the native iOS / Android Wikitute SDK, which loads the scene url). React doesn't even know what is going on because it's acts more or less in a fire and forget mentality (i guess this makes it even harder to create a bridge between those two worlds)
The text was updated successfully, but these errors were encountered:
Setup
I have 2 screens, let us call them A and B.
Screen A is the Wikitude Screen started via Wikitude.startAR
Screen B has a semi transparent background and some UI elements (e.g. Buttons)
I don't want to touch the native wikitude views (iOS and Android), that's why i'm using react-native-navigation V2 to overlay Screen B via Navigation.showOverlay on top of Screen A.
Task
I want to change the UI on Screen A, depending on events which occur in the Wikitude Javascript SDK, running in the sceneUrl loaded via startAR into the iOS SDK (i know this sounds crazy).
Is it somehow possible to pass data from the Wikitude Screen back to a React Native Screen and vice versa?
Example Scene (loaded by WikitudeSDK)
Wikitude found a target
Wikitude lost the target
PS: This "overlay" approach seems to have other issues as well. Would it be possible to convert the Wikitude Screen into a "real" react component which can be used in other componets (e.g. View)? As far as i understand the code base, react-native-wikitude creates "just" a native iOS / Android View (which fires up the native iOS / Android Wikitute SDK, which loads the scene url). React doesn't even know what is going on because it's acts more or less in a fire and forget mentality (i guess this makes it even harder to create a bridge between those two worlds)
The text was updated successfully, but these errors were encountered: