Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there alternative way to JavascriptInterface of Webview on Chrome Custom Tabs?

I am using JavascriptInterface of Webview. Is it possible on Chrome Custom Tabs? Or Is there alternative method of that?

like image 258
Kazuhiro Nakai Avatar asked Sep 24 '15 02:09

Kazuhiro Nakai


People also ask

How do I disable Chrome custom Tabs?

Open Google application or do a search, click the hamburger in the top left and go into Settings. Go into Accounts and privacy. Turn off 'open web pages in app'. This appears to turn off chrome custom tabs.


1 Answers

No. CustomTabs do not allow apps to interact with web page contents for privacy reasons. Though you can measure how fast the pages load with CustomTabsCallback.

like image 86
Egor Pasko Avatar answered Nov 18 '22 05:11

Egor Pasko