Skip to content

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

@tiagosatur

Description

@tiagosatur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions