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
Describe the bug
Hi, I've implemented Amplify Analytics next to the Firebase Analytics already in place in my current app.
Everything compiles and seems to work as expected on the mobile devices (both iOS and Android), but the analytics events recorded do not end up in the Pinpoint Console after waiting for > 12 hours, even when forcing a flush - again on both platforms.
I also don't seen any errors or issues in Logcat or xcode when recording the analytics event, so I'm not sure what the cause is.
To Reproduce
Init Amplify as documented (with amplifyconfig pointing to the amplifyconfig.dart generated by the Amplify CLI).
This is done during the splash screen of the app so it's configured as we finish loading into the actual app.
Like the documentation specifies, the Auth Cognito plugin is added as well.
But as I'm not using Auth (yet), other than adding the plugin it is not touched in code.
As for the backend setup, everything seems to be in place on the AWS Amplify Console by having used amplify add analytics (which automatically added auth), and amplify push.
I've also tried doing amplify add auth first, and updating it afterwards by amplify add analytics, but that didn't seem to change anything (other than the auth setup having a project-specific name).
Expected behavior
Following the documentation for Analytics and recording an event should have it show up in the Pinpoint Console after a few minutes.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
Amplify Flutter current supports iOS and Android. This issue is reproducable in (check all that apply):
[X] Android
[X] iOS
Smartphone (please complete the following information):
Device: iPhone6, Pixel 4
OS: iOS 12.4.7, Android 11 Preview
Is there anything I'm missing from the documentation or is a delay of multiple hours expected?
Thanks!
The text was updated successfully, but these errors were encountered:
thomas-stockx
changed the title
[Analytics] No events showing in Console, but no error logging on device
[Analytics & Auth] Registered plugins "not added correctly"
Sep 4, 2020
thomas-stockx
changed the title
[Analytics & Auth] Registered plugins "not added correctly"
[Analytics] Recorded events not showing in Pinpoint
Sep 4, 2020
Turns out I actually never called my initAmplify() as it got lost in a merge conflict.
Would it be possible to add extra error messaging to the Analytics package?
Implementing Auth (which also wasn't working) pointed me into the right direction as it clearly logged an error, while Analytics didn't log any errors or warnings.
Describe the bug
Hi, I've implemented Amplify Analytics next to the Firebase Analytics already in place in my current app.
Everything compiles and seems to work as expected on the mobile devices (both iOS and Android), but the analytics events recorded do not end up in the Pinpoint Console after waiting for > 12 hours, even when forcing a flush - again on both platforms.
I also don't seen any errors or issues in Logcat or xcode when recording the analytics event, so I'm not sure what the cause is.
To Reproduce
Init Amplify as documented (with amplifyconfig pointing to the amplifyconfig.dart generated by the Amplify CLI).
This is done during the splash screen of the app so it's configured as we finish loading into the actual app.
Recording a test event on a button press:
Like the documentation specifies, the Auth Cognito plugin is added as well.
But as I'm not using Auth (yet), other than adding the plugin it is not touched in code.
As for the backend setup, everything seems to be in place on the AWS Amplify Console by having used
amplify add analytics
(which automatically added auth), andamplify push
.I've also tried doing
amplify add auth
first, and updating it afterwards byamplify add analytics
, but that didn't seem to change anything (other than the auth setup having a project-specific name).Expected behavior
Following the documentation for Analytics and recording an event should have it show up in the Pinpoint Console after a few minutes.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
Amplify Flutter current supports iOS and Android. This issue is reproducable in (check all that apply):
[X] Android
[X] iOS
Smartphone (please complete the following information):
Is there anything I'm missing from the documentation or is a delay of multiple hours expected?
Thanks!
The text was updated successfully, but these errors were encountered: