How to hide the address bar and bottom bar in webview



using ionic and capacitor platform
this address bar is very unfriendly!

Hi @tianyaluyi welcome to the community!

Are you by chance building off of sample app of ours? While I’m not super familiar Ionic/Hybrid approaches, I’ve been testing using our sample app here. I know in general we don’t recommend using a WebView given it’s against OAuth best practices and we almost always recommend going the Chrome Custom Tab/Safari View Controller route as mentioned in this post (Directed at native development, but similar idea):

I know our sample implements @capacitor/browser which uses Safari View Controller on iOS and Chrome Custom Tabs on Android. You may be able to hide the address bar in a WebView but that’s a bit outside the scope of what Auth0 in particular can control.