You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Analytics category to create endpoints in Pinpoint, Microsoft Edge is incorrectly identified as Google Chrome. This is because the "getBrowserType" function in the "getClientInfo" utils file only matches "Trident" and "Edge", when the Edge user agents are "Edge", "Edg", "EdgA" and "EdgiOS".
Expected behavior
Pinpoint endpoints are created reliably for Microsoft Edge.
Reproduction steps
Add the Auth and Analytics categories to a project.
Verify the Microsoft Edge user agent with console.info(window.navigator). The issue can only be reproduced if the user agent contains "Edg" (Windows / Mac) or "EdgA" (Android) or "EdgiOS" (Apple).
Start the project and access using Microsoft Edge.
Review Pinpoint and observe that an endpoint for Google Chrome has been created.
Code Snippet
// Put your code below this line.
Log output
// Put your logs below this line
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered:
@gardin-davidl, the fix for this issue is referenced above in PR #12661 and is currently on @unstable (6.0.7-unstable.829723b.0) which is pending release. Feel free to give it a try and let us know if it resolves your issue!
Before opening, please confirm:
JavaScript Framework
Not applicable
Amplify APIs
Analytics
Amplify Categories
analytics
Environment information
Describe the bug
When using the Analytics category to create endpoints in Pinpoint, Microsoft Edge is incorrectly identified as Google Chrome. This is because the "getBrowserType" function in the "getClientInfo" utils file only matches "Trident" and "Edge", when the Edge user agents are "Edge", "Edg", "EdgA" and "EdgiOS".
Expected behavior
Pinpoint endpoints are created reliably for Microsoft Edge.
Reproduction steps
console.info(window.navigator)
. The issue can only be reproduced if the user agent contains "Edg" (Windows / Mac) or "EdgA" (Android) or "EdgiOS" (Apple).Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: