plyer icon indicating copy to clipboard operation
plyer copied to clipboard

Feature Request: Webview (and Custom chrome tabs for Android)

Open snazzy92 opened this issue 4 years ago • 2 comments

Is it possible to create an API to call Webviews and custom Chrome tabs from Plyer? Pyjnius is just not very intuitive to work with.

snazzy92 avatar Jun 05 '21 18:06 snazzy92

It is possible to instantiate a Webview without using Plyer, for example: https://github.com/RobertFlatt/Android-for-Python/tree/main/webview Android only. I know nothing about Chrome tabs.

RobertFlatt avatar Jun 06 '21 02:06 RobertFlatt

Thanks for that! I've actually been using this Webview for my application. I still think we need an easier and platform independent way to call webviews for Kivy apps. I know webviews exist in python and you can call them from other libraries like pyqt but those weren't made with android/ios in mind and may not work on them. Custom chrome tabs: https://developer.chrome.com/docs/android/custom-tabs/overview/ Basically, its an improved version of Webviews that gives you faster load times through pre-fetching and control over which browser you want to use in your app.

snazzy92 avatar Jun 06 '21 08:06 snazzy92