New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix (aws-amplify-react-native) : analytics warning/error when using auth module #5629
fix (aws-amplify-react-native) : analytics warning/error when using auth module #5629
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been meaning to look into why this was happening. Awesome 👍
Codecov Report
@@ Coverage Diff @@
## master #5629 +/- ##
=======================================
Coverage 72.91% 72.91%
=======================================
Files 197 197
Lines 11536 11536
Branches 2178 2178
=======================================
Hits 8412 8412
Misses 2971 2971
Partials 153 153 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix. LGTM 🚀
@ashika01 This error is still there for me while Auth.signIn. I have upgraded to the latest version No credentials, applicationId or region I am in the latest version. "aws-amplify": "^3.0.11", |
@nihp can you post a screenshot of your error log? |
@ashika01 Any updates |
Any update on this? I'm running into the same problem using: I can log into Cognito and logout fine. The warning throws at the login process. And, I checked the network request in the debugger. The header for the POST request that throws this error is directed to the correct IdentifyPoolId, but it lacks an authorization token. The malformed request seems to be coming from node_modules/react-dev-tools-core/dist/backend.js. Thanks! |
This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Issue #, if available: fixes #4824
Description of changes:
Checking if the analytics module is configured before making the call for record similar to this implementation
This will be revisited with rewrite of auth modules in react native.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.