2

I am trying to do SSO using Chrome Tabs in my Android Application.

Whenever the chrome comes in it also has options menu of chrome - Is there a way to disable this options menu.

Attached is a screenshot app

vivianaranha
  • 2,781
  • 6
  • 33
  • 47

4 Answers4

4

No, currently is not possibile: you can add items but not remove the button.

https://developer.chrome.com/multidevice/android/customtabs

Claudio
  • 3,060
  • 10
  • 17
0

In cases like this you should use phonegap instead of use chrome browser as webview read the docs

basically it runs chrome webview on android, and safari webview on IOS but without all chrome/safari options.

Otávio Barreto
  • 1,536
  • 3
  • 16
  • 35
  • `phonegap` is called `cordova` since ages, while it is extremely limiting, because it only supports one single callback - while Android SDK often would require more than just one. – Martin Zeitler Aug 20 '19 at 17:51
0

Simply use a WebView instead of CustomTabs - then there is nothing to hide away, to begin with.

Martin Zeitler
  • 1
  • 19
  • 155
  • 216
0

Hey there so in my opinion you should use simple Android webview if you don't want your user to access these options.

Just create a new activity/fragment that contains webview and open your website or any url within it.

This might help you from android developer docs.

Also try this example that might be useful.

Arbaz Pirwani
  • 935
  • 7
  • 22