react-native-azure-ad icon indicating copy to clipboard operation
react-native-azure-ad copied to clipboard

Is it possible show a loader while page is loading in the WebView?

Open tiagosatur opened this issue 5 years ago • 0 comments

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" />}
 />

tiagosatur avatar Feb 06 '20 13:02 tiagosatur