AmplifyPushNotificationsPinpoint doesn't support offline configuration #4688
Labels
bug
Something is not working; the issue has reproducible steps and has been reproduced
pending-release
Issues that have been addressed in main but have not been released
push notifications
Description
AmplifyPushNotificationsPinpoint
doesn't support offline configuration, so in this case, Amplify can't be configured at all (See steps).Actual behavior:
Categories
Steps to Reproduce
main()
:Expected
The Pinpoint plugin will send the device token, etc. when connected to the internet.
Actual
Unconfigured Amplify and no way to continue working with this.
Why did you do it this way? This request is not critical, send the device token as fire-and-forget and log errors, then in the listener send it again when it has been updated.
Also as you can see:
amplify-flutter/packages/notifications/push/amplify_push_notifications/lib/src/amplify_push_notifications_impl.dart
Lines 231 to 232 in 17fc13c
Exception in
_registerDeviceWhenConfigure
blocks all next steps:Screenshots
No response
Platforms
Flutter Version
3.19.4
Amplify Flutter Version
1.7.0
Deployment Method
Amplify CLI
Schema
No response
The text was updated successfully, but these errors were encountered: