vConsole icon indicating copy to clipboard operation
vConsole copied to clipboard

Type error in IOS devices

Open krishnagogada opened this issue 4 years ago • 7 comments

Hey Team, I got an issue with the ios devices while using vconsole CDN in an iframe.

vConsole Version:- CDN (https://unpkg.com/vconsole/dist/vconsole.min.js)

ios-type-error

Here the codeSandbox where we can reproduce the issue in IOS devices(iPad, iphones in all the versions).

When we click copy button in vconsole again the same Type error is logged

krishnagogada avatar Dec 14 '21 15:12 krishnagogada

Thanks for the detailed feedback, but I cannot reproduce it here.

IMG_EB80067F92FF-1

Maizify avatar Dec 15 '21 14:12 Maizify

Hey thanks for the response.

Sorry for the less information, the issue is reproducing in the IOS chrome browser, not in safari.

krishnagogada avatar Dec 16 '21 06:12 krishnagogada

I have been debugging for a long time and I have no clue. Because it is difficult to debug Chrome for iOS web pages on my Mac.

  1. I opened codesandbox in Chrome for iOS and it can be reproduced. This seems to be a Promise related error, and it will appear in vConsole >= 2.0.0.

  2. This problem does not appear in Safari for iOS or desktop browsers.

  3. I cloned a copy to the local, but it cannot be reproduced in Chrome for iOS. This confuses me. The only difference is that my local TypeScript version is 4.4.4 instead of 4.1.3.

IMG_4B814562BC48-1

Maizify avatar Dec 22 '21 12:12 Maizify

@Maizify Yes, it is not reproduced when you use the http domain.

Use Ngrok or pagekite with secure https domain then it will be reproduced local as well.

krishnagogada avatar Dec 23 '21 05:12 krishnagogada

Hi @Maizify

Is there any update on this?

Dineshchitta avatar Jan 28 '22 16:01 Dineshchitta

Hi @Maizify

I am getting the same issue, is there any progress?

bhargavavarma avatar Jun 11 '22 11:06 bhargavavarma

Any updates on this issue @Maizify ? I am experiencing the same problem as well.

isaacking5 avatar Sep 28 '22 05:09 isaacking5