Akash-Tapadia-DFT opened a new issue, #1076: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/1076
# Feature Request ## Motivation Behind Feature <!-- Why should this feature be implemented? What problem does it solve? --> 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/apache/cordova-plugin-inappbrowser/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 <!-- Describe your feature request in detail Please provide any code examples or screenshots of what this feature would look like Are there any drawbacks? Will this break anything for existing users? --> 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 <!-- Describe alternatives or workarounds you are currently using Are there ways to do this with existing functionality? --> 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org