-
Notifications
You must be signed in to change notification settings - Fork 247
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
Android version can't setup/use AmplifyPushNotificationsPinpoint() plugin #5384
Comments
Hello @marcuscheung-carbonlinking - Do you know what changes were made between the time when this was working to when it stopped working? Did you upgrade flutter, are you testing on a new device, were there code changes? |
i just have one android device for testing. |
Is the user authenticated when this error occurs? Have you configured unauthenticated guest access for pinpoint? |
i notice the error message has one more line: |
backend setting? |
Yes, this would be a setting that would have been enabled when setting up the backend. |
weird thing, last friday i try to setup another amplify-flutter project for deeper explorer amplify&pinpoint, same setup is work. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
but test on real device still have that error: |
@marcuscheung-carbonlinking - That error would indicate that there currently is no user logged in and that your pinpoint backend is not setup to allow unauthenticated users. Here are the steps to setup pinpoint with the Gen 1 CLI and enable unauthenticated access: https://docs.amplify.aws/gen1/flutter/build-a-backend/push-notifications/set-up-push-notifications/#set-up-backend-resources |
i try to install android version flutter app (same code, same build) on sumsung A12 & sony XQ-DC72.A12 works. but XQ-DC72 can't. if we upgrade to amplify 2.x, will it fix my issue? |
Hello @marcuscheung-carbonlinking, can you please confirm that you have both authenticated and guest access enabled in Cognito. Afterwards can to please confirm that the IAM policies for both are configured per our documentation. |
Description
ios version is ok,
android version work before,
my flutter version: 3.24.0.
this my amplify configure method:
this the error message:
my amplify package version:
amplify_flutter: ^1.8.0
amplify_api: ^1.8.0
amplify_auth_cognito: ^1.8.0
amplify_core: ^1.8.0
amplify_storage_s3: ^1.8.0
amplify_push_notifications_pinpoint: ^1.8.0
Categories
Steps to Reproduce
launch the flutter project with android device and use AmplifyPushNotificationsPinpoint plugin
Screenshots
No response
Platforms
Flutter Version
3.24.0
Amplify Flutter Version
1.8.0
Deployment Method
Amplify CLI (Gen 1)
Schema
No response
The text was updated successfully, but these errors were encountered: