Gets "Method not found" error in vue-router when open simple vue app through Telegram WebView on Android devices #2452
-
Reproductionhttps://github.com/sashtje/simple-vue-project Steps to reproduce the bug
The same project but with Sentry: https://github.com/sashtje/vue-project
Expected behaviorDon't have any errors Actual behaviorThere is Method not found error in vue-router Additional informationThe error occurs only on Android smartphones and when I open the sites through Telegram app. I created 2 simple projects to reproduce:
This error was seen in 4.5.0, 4.4.5, 4.4.3, 4.3.2 vue-router versions. I haven't checked the others. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Struggled with the same problem in React, found out the error was caused by the Telegram WebView extension, which was trying to get your 'site_name'. Just add a meta tag to the HTML header, and it's gone.
|
Beta Was this translation helpful? Give feedback.
-
Thank you so much, Dmitry! I tried this now on my demo project and the error went away |
Beta Was this translation helpful? Give feedback.
Struggled with the same problem in React, found out the error was caused by the Telegram WebView extension, which was trying to get your 'site_name'.
Just add a meta tag to the HTML header, and it's gone.
<meta property="og:site_name" content="my site name">