Skip to content

Comments

WIP READ NB BELOW: WEBVIEW: Add dedicated UnsupportedBrowser controller to cacth WebView browsers#40

Open
friendlyantz wants to merge 13 commits intomasterfrom
unsupported-browser
Open

WIP READ NB BELOW: WEBVIEW: Add dedicated UnsupportedBrowser controller to cacth WebView browsers#40
friendlyantz wants to merge 13 commits intomasterfrom
unsupported-browser

Conversation

@friendlyantz
Copy link
Owner

WIP READ NB BELOW: WEBVIEW: Add dedicated UnsupportedBrowser controller to cacth WebView

This seems like adding unneccessary complexity to capture
telegram/Webview refresh and saving the url

I think we are better off detecting WebView early and guiding users to
normal browser from the beginning

We have WebAuthn dedicated alert though, another commit that i think we
will progress with implements simple global webview helper method, which
in this case seems like a sane solution for now

While working on local, Telegram Webview in prod still have issues with navigating the links

Unfortunatly maskable option is out of play since multiple icons break
android app installation, and instead it renders processed it's own icon
which crops and removes transparent background
new:6 Error connecting controller

TypeError: Cannot read properties of null (reading 'addEventListener')
    at Object.registerInteractionHandler (mdc.textfield.js:4067:37)
    at MDCRippleFoundation.registerRootHandlers_ (mdc.textfield.js:2549:40)
    at MDCRippleFoundation.init (mdc.textfield.js:2405:18)
    at MDCRipple.MDCComponent (mdc.textfield.js:363:43)
    at new MDCRipple (mdc.textfield.js:1966:51)
    at rippleFactory (mdc.textfield.js:3543:24)
    at MDCTextField.createRipple_ (mdc.textfield.js:4075:20)
    at MDCTextField.initialize (mdc.textfield.js:3632:45)
    at MDCTextField.MDCComponent (mdc.textfield.js:357:42)
    at new MDCTextField (mdc.textfield.js:3533:46)

{identifier: 'textfield', controller: t, element: div}
…er to cacth WebView

browsers

This seems like adding unneccessary complexity to capture
telegram/Webview refresh and saving the url

I think we are better off detecting WebView early and guiding users to
normal browser from the beginning

We have WebAuthn dedicated alert though, another commit that i think we
will progress with implements simple global webview helper method, which
in this case seems like a sane solution for now

While working on local, Telegram Webview in prod still have issues with navigating the links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant