I am loading html to webview.
Trying to detect all the content is loaded and it is scrolled till bottom.trying to implement T&C screen in mobile app.
Below is the code i tried
<WebView style={{flex: 1}} originWhitelist={['*']} source={{uri: 'https://google.com'}} javaScriptEnabled={true} domStorageEnabled={true} startInLoadingState={false} onLoadEnd={() => this.setState({isButtonEnabled: true})} scalesPageToFit={true} scrollEnabled={false} />
also try to do this: but onscroll is not giving proper on bottom offset
<ScrollView onScroll={this.handleScroll}><WebView originWhitelist={['*']} source={{uri: 'https://www.google.com'}} /></ScrollView>