I am working on a flutter project that works fine on ios and android but while running in web platform I get the below error:
errors.dart:266 Uncaught (in promise) Error: Unsupported operation:
This platform is not supported yet
at Object.throw_ [as throw] (errors.dart:266:49)
at AmplifyAuthCognito.new (amplify_auth_cognito.dart:34:7)
at init (account_controller.dart:43:24)
at init.next (<anonymous>)
Does anyone have any experience of using AmplifyAuthCognito with web ? and can confirm if it supports web platform ?
I asked chatGPT about it and got the below response:
As of my last knowledge update in September 2021, the amplify_auth_cognito package, which is part of the AWS Amplify Flutter library, primarily focuses on providing authentication services for mobile platforms (iOS and Android) and doesn't officially support web platforms directly. At that time, AWS Amplify for Flutter was mainly targeted at mobile app development. However, AWS and the Amplify team have been actively working to expand the capabilities and compatibility of the Amplify framework, including support for web applications.