ios - WebView properties don't work if the app is launched via a Push Notificaiton -


our app uses webview load part of our app. we've stumbled across scenario found webview properties don't work if app has cold start via push notificaiton

when application launched normally: react native page , once page done loading alert created in onloadend

app launched via remote push notification: when app removed memory double clicking home button , swiping app away, , user clicks on push notification launches app - page loads fine but function onloadend not run.

  render() {     return(          <view style={ styles.iospadding }>             <webview              source={{uri: 'https://github.com/facebook/react-native'}}              onloadend={() => {                alert("webpage loaded !");              }}            />           </view>     );   } 

i've been looking around workaround scenario. need ability know when webpage loaded.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -