Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Loading Indicator (Progress Bar) in InAppBrowser for Android #1076

Open
Akash-Tapadia-DFT opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@Akash-Tapadia-DFT
Copy link

Feature Request

Motivation Behind Feature

Currently, there is no visual feedback indicating that content inside the InAppBrowser is loading. Users experience a blank screen until the webpage fully loads, refer this [(https://github.com//issues/1075)]. This could lead to confusion or a perception of slow performance. Adding a loading indicator (such as a spinner) would enhance the user experience.

Feature Description

Add a ProgressBar or Spinner:

When the InAppBrowser starts loading a webpage, display a ProgressBar (spinner) in the center of the screen.
Once the webpage finishes loading, hide the ProgressBar.
The feature is dependent on the web content load time. If there is an error in loading the page, the progress bar may remain visible, so error handling must be considered.

Alternatives or Workarounds

Currently, there is no easy way to visually indicate that the InAppBrowser is loading content. A custom implementation of this loader using native code, as suggested above, could solve the issue.

One workaround is to hide the browser and show it in the loadstop event, but due to this user stays on the native page for a long time and considers that no action is happening. This is because for iOS we have a loading indicator/progress bar.
So, we want the same behaviour for Android also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant