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
This scene was called from a different scene: return ( <Root> <Provider store={createStore(reducers, {conn}, applyMiddleware(ReduxThunk))}> <Router> <Scene key='welcomeScene' animation='fade' component={WelcomeScene} title='Welcome Scene' hideNavBar /> <Scene key='loginScene' animation='fade' component={LoginScene} title='Login Scene' hideNavBar /> <Scene key='listScene' animation='fade' type={ActionConst.REPLACE} component={ListScene} title='List Scene' hideNavBar /> <Scene key='scanScene' animation='fade' component={ScanScene} title='Scan Scene' hideNavBar /> <Scene key='homeScene' animation='fade' component={HomeScene} title='Home Scene' hideNavBar /> <Scene key='cartScene' animation='fade' component={CartScene} title='Cart Scene' hideNavBar /> </Router> </Provider> </Root> )
I can reach the website page but I can't see it with mobile configuration.
If I open the page from the same mobile device directly with chrome detection works as I want
I have created a clean react native project from the scratch and just added a webview pointing to the page and works as it is expected, the same as point 4.
I have enabled javaScriptEnabled, even it is true as default. No results
I have added userAgent with same result as 7.
I'm using react-native-router-flux and redux
Expected Behavior
Open page with webview and get configuraiton for mobile devices
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
react-native: 0.45.1
node -v
: v8.1.2npm -v
:5.0.3Target Platform: Android (using a Vodafone with Android 6.0 connected via USB)
Development Operating System: macOS Sierra
Steps to Reproduce
Reaching site page with this code:
render () { return ( <View style={styles.container}> <View style={styles.topbar}> <TouchableOpacity disabled={!this.state.canGoBack} onPress={this.onBack.bind(this)} > <Text style={this.state.canGoBack ? styles.topbarText : styles.topbarTextDisabled}>Go Back</Text> </TouchableOpacity> </View> <WebView ref={WEBVIEW_REF} style={{flex: 1}} source={{uri: ADDRESS}} // source={{uri: 'http://www.anzor.co.nz/'}} renderLoading={this.renderLoading} // onShouldStartLoadWithRequest={this.openExternalLink} onNavigationStateChange={this.onNavigationStateChange.bind(this)} startInLoadingState // userAgent='Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3' // javaScriptEnabled /> <View style={styles.bottombar}> <TouchableOpacity // disabled={!this.state.canGoBack} onPress={this.onReturn.bind(this)} > <View style={{flexDirection: 'row'}}> <Icon style={{fontSize: 30, paddingRight: 30, color: '#FFFFFF'}} name='md-barcode' /> <Text style={{color: '#FFFFFF', textAlignVertical: 'center', fontSize: 20}}>Return to Scanner</Text> </View> </TouchableOpacity> </View> </View> ) } }
This scene was called from a different scene:
return ( <Root> <Provider store={createStore(reducers, {conn}, applyMiddleware(ReduxThunk))}> <Router> <Scene key='welcomeScene' animation='fade' component={WelcomeScene} title='Welcome Scene' hideNavBar /> <Scene key='loginScene' animation='fade' component={LoginScene} title='Login Scene' hideNavBar /> <Scene key='listScene' animation='fade' type={ActionConst.REPLACE} component={ListScene} title='List Scene' hideNavBar /> <Scene key='scanScene' animation='fade' component={ScanScene} title='Scan Scene' hideNavBar /> <Scene key='homeScene' animation='fade' component={HomeScene} title='Home Scene' hideNavBar /> <Scene key='cartScene' animation='fade' component={CartScene} title='Cart Scene' hideNavBar /> </Router> </Provider> </Root> )
I can reach the website page but I can't see it with mobile configuration.
If I open the page from the same mobile device directly with chrome detection works as I want
I have created a clean react native project from the scratch and just added a webview pointing to the page and works as it is expected, the same as point 4.
I have enabled javaScriptEnabled, even it is true as default. No results
I have added userAgent with same result as 7.
I'm using react-native-router-flux and redux
Expected Behavior
Open page with webview and get configuraiton for mobile devices
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: