Closed youdk1107 closed 2 months ago
Fixed, but I don't have an iOS device to test it. If there are any problems, please reopen this issue.
The error has not been resolved.
It seems that edge recognition is not possible because the value for distinguishing edge by useragent on iOS is EdgiOS.
If you modify the edge confirmation condition as below, it was recognized as normal.
/* edge / export const isEdge = /edge/i.test(userAgent) || /EdgiOS/i.test(userAgent);
The regToStringChecker function also seems to be detect regardless of developer tool usage in iOS edge browser.
There was no problem with other browsers, and only iOS edge browsers were experiencing problems.
The error has not been resolved.
It seems that edge recognition is not possible because the value for distinguishing edge by useragent on iOS is EdgiOS.
If you modify the edge confirmation condition as below, it was recognized as normal.
/* edge / export const isEdge = /edge/i.test(userAgent) ||导出 const isEdge = /edge/i.test(userAgent) || /EdgiOS/i.test(userAgent);
The regToStringChecker function also seems to be detect regardless of developer tool usage in iOS edge browser.
There was no problem with other browsers, and only iOS edge browsers were experiencing problems.
Ok, I have added this logic.
The regToStringChecker function also seems to be detect regardless of developer tool usage in iOS edge browser.
As long as you modify the regToStringChecker function, it worked fine on iOS as well.
The regToStringChecker function also seems to be detect regardless of developer tool usage in iOS edge browser.
As long as you modify the regToStringChecker function, it worked fine on iOS as well.
It was also fixed in the last modification.
https://github.com/AEPKILL/devtools-detector/commit/00a2d3e6cdedbefd113cb2cc0326bbbbd5796c81
- export const isWebkit = /webkit/i.test(userAgent) && !isEdge;
+ export const isWebkit = /webkit/i.test(userAgent);
There is a problem with recognizing that the developer tool has been opened even if the developer tool is not opened in the iOS edge browser.
I have added an alert code to verify.
The ios edge version is 127.2651.96.