react-native-azure-ad
react-native-azure-ad copied to clipboard
Is it possible show a loader while page is loading in the WebView?
The normal WebView component has the startInLoadingState and renderLoading where we can put a loading icon on the interface. But on my tests I'm not being able to do that. I tried using the WebView from react-native-webview and worked fine!
Some help?
<ADLoginView context={ReactNativeAD.getContext(ADFSConfig.client_id)}
needLogout={false}
hideAfterLogin={true}
onSuccess={onLoginSuccess}
startInLoadingState
renderLoading={() => <ActivityIndicator size="large" color="#000" />}
/>