Skip to content
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

Desktop Support for amplify-flutter #133

Closed
jeffglaum opened this issue Oct 6, 2020 · 43 comments
Closed

Desktop Support for amplify-flutter #133

jeffglaum opened this issue Oct 6, 2020 · 43 comments
Assignees
Labels
feature-request A request for a new feature or an enhancement to an existing API or category.

Comments

@jeffglaum
Copy link

It's great to see Amplify brought to Flutter. The attractiveness of the framework is the ability to run almost anywhere. When might we see amplify-flutter working on desktop (Ubuntu and macOS)?

@Ashish-Nanda Ashish-Nanda added the feature-request A request for a new feature or an enhancement to an existing API or category. label Oct 6, 2020
@haverchuck
Copy link
Contributor

@jeffglaum We don't have specific dates on desktop or web support, but we are definitely aware that there is demand for this!

@moioo91120
Copy link

+1 for web plz :)

@jamesonwilliams
Copy link
Contributor

Thanks, @moioo91120! We're tracking support for Flutter web in #234.

Please 👍 on #234 for Flutter Web.
Please 👍 on this current #133 for Flutter Desktop.

@talamaska
Copy link

talamaska commented Jan 21, 2021

Not to be picky, but there is already web implementation for amplify. Yes it doesn't follow the same API probably, but still, a thin dart wrapper arround it should make it usable in flutter, It is already usable, but you need to play with js interop.
@joekendal right, but Amplify Mobile SDK and Web SDK exist from some time ago. Desktop never existed, and it should be written on c/c++ in order to make it compilable for different desktops.
As Flutter first started with iOS and Android, Amplify started first with what they have to make it work as fast as possible.
Sure the idea of writing it from scratch on Dart isn't a bad idea, it's just cumbersome to start all over again, instead of just wrapping the native sdks with thin wrapper. I'm sure that if there is a market, Amplify team will eventually port the code to desktop when it becomes stable I guess.
Why firebase would start also from mobile?
Firebase for Flutter is also made on top the native SDKs

@joekendal
Copy link

@talamaska that sounds quite resource-heavy to have two processes running and have them communicate somehow. The closest thing I can think of is implementing https://pub.dev/packages/graphql_flutter to handle the offline cache and authorisation with AppSync.

@raywhiteside
Copy link

+1 for desktop support, especially now that it's in the stable channel (ish). I would love to be able to ditch the emulators to do local testing, even if desktop isn't the primary target.

(specifically +1 for linux support in my case btw I use arch)

@joekendal
Copy link

btw I use arch

why is it that every arch user needs to inform people that they use arch. (btw i used to be an arch user, until I started to value my time)

@sgehrman
Copy link

Amplify is useless without desktop support.

@aashhshah
Copy link

aashhshah commented Jun 22, 2021

+1 for flutter desktop support

@ugurcan
Copy link

ugurcan commented Jun 29, 2021

Is there any estimated date for Windows Desktop support? For example last quarter of 2021 or first quarter of 2022? When do you plan to release (at least) beta version?

@TimWhiting
Copy link

Alternatively may I suggest a dart implementation rather than having to support interop with the native platforms for web+3desktops+2mobileOS. It seems to me that the overhead of managing 6 different bindings / interop is more work than supporting dart directly.

@pieterbergmans
Copy link

Desperately wanting Amplify Auth integration with Flutter Desktop (Windows, Mac). Any ETA? Even a rough estimate would be great: Q2, 2022....Q3, 2022, etc.

@hachirokoo
Copy link

I am waiting for this too.

@abdallahshaban557
Copy link
Contributor

@pieterbergmans @hachirokoo - we do not have an exact timing at this time, but supporting web and desktop for Flutter is our highest priority for this year. We will share our estimates for timelines when we have them.

@hachirokoo
Copy link

@abdallahshaban557 Thanks for your confirmation. I am sure knowing the roadmap will help other devs / companies planning their choice of tools for their Flutter app as it did for my case. Keep us posted. Cheers.

@abdallahshaban557
Copy link
Contributor

@hachirokoo - we absolutely agree with that! Thank you for sharing your feedback - and we will keep you posted over this GH issue!

@shvc
Copy link

shvc commented May 8, 2022

+1 for desktop, based on dart will be better!

@alperentekay2
Copy link

+1 for desktop

@sookah
Copy link

sookah commented May 21, 2022

+1 for desktop and embedded support

@MarlonJD
Copy link
Contributor

MarlonJD commented May 21, 2022

+1 for desktop. Need timing for this. I want to use amplify for a big project.

@abdallahshaban557
Copy link
Contributor

@sookah, since this ticket is for supporting Desktop, it would be great if you can help us by submitting a Github feature request specifically for Embedded support - including some of your use cases!

@gdhananjay
Copy link

+1

Eagerly waiting for timelines. I have our current app in firebase. But wanted to evaluate amplify. But this part is stopping us.

@pieterbergmans
Copy link

pieterbergmans commented Jun 21, 2022

Can we get a timeline update, please? Or, can you at least tell us if you've started working on this? I'd think if this was in your project management portfolio that you could give us a rough indication of when we could expect this to be delivered or provide us with milestone delivery dates. Please, anything!

@abdallahshaban557
Copy link
Contributor

Hi @pieterbergmans , we are for sure working on Desktop and Web support as our highest priority for this year. The rollout of support will be incremental, starting with the Auth category first. We are expecting to have a dev preview for Auth very soon!

Can you give us a bit more insights on your use cases? And which Desktop platforms and Amplify categories you need?

@MarlonJD
Copy link
Contributor

Auth is really good to arrive, for me i need GraphQL API support secondary.

@abdallahshaban557
Copy link
Contributor

Hi @gam3boy1 - we do not have exact timelines at this point. We will be able to share additional details in the next month!

@aadia1234
Copy link

Hi @abdallahshaban557, in the mean time, is there an alternative solution that I could use?

@pieterbergmans
Copy link

@abdallahshaban557 - If you could provide all the Auth features that you currently provide for Android/iOS and provide them for PC + Mac + Web, that would be great.

@PeterAkande
Copy link

PeterAkande commented Jun 29, 2022

+1 for desktop support..
Already had my way around it though...

Instead of using amplify, I consumed the REST APIs to do most of what we needed in our product.

@abdallahshaban557
Copy link
Contributor

Hi @gam3boy1 - an alternative could be for you to use our Sigv4 client to sign HTTP requests to talk to AWS services directly. https://pub.dev/packages/aws_signature_v4. You can also try the solution mentioned by @PeterAkande to use REST APIs for your app in the meantime.

@pieterbergmans - Auth is definitely the first category we plan on supporting for web and all desktop (Mac, Windows, Linux).

@mohammadfayiztp
Copy link

+1 for web support

@SilverLinings89
Copy link

SilverLinings89 commented Jul 7, 2022

this would be great because (together with web support) it would be possible to develop against Amplify in a single language for all platforms. Afaik the only alternatives currently would be ionic or react native which are both inferior performance-wise.

dnys1 pushed a commit to dnys1/amplify-flutter that referenced this issue Aug 1, 2022
Initial developer preview release.

### Developer Preview

The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is **not** intended for production usage. Please follow our [Web](aws-amplify#234) and [Desktop](aws-amplify#133) support tickets to monitor the status of supported categories. We will be releasing support incrementally to all platforms.

For production use cases please use the latest, non-tagged versions of amplify-flutter packages from `pub.dev`. They offer a stable, production-ready experience for Android and iOS.

commit-id:2cbbba2b
dnys1 pushed a commit to dnys1/amplify-flutter that referenced this issue Aug 1, 2022
Initial developer preview release.

### Developer Preview

The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is **not** intended for production usage. Please follow our [Web](aws-amplify#234) and [Desktop](aws-amplify#133) support tickets to monitor the status of supported categories. We will be releasing support incrementally to all platforms.

For production use cases please use the latest, non-tagged versions of amplify-flutter packages from `pub.dev`. They offer a stable, production-ready experience for Android and iOS.

commit-id:2cbbba2b
dnys1 pushed a commit to dnys1/amplify-flutter that referenced this issue Aug 1, 2022
Initial developer preview release.

### Developer Preview

The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is **not** intended for production usage. Please follow our [Web](aws-amplify#234) and [Desktop](aws-amplify#133) support tickets to monitor the status of supported categories. We will be releasing support incrementally to all platforms.

For production use cases please use the latest, non-tagged versions of amplify-flutter packages from `pub.dev`. They offer a stable, production-ready experience for Android and iOS.

commit-id:2cbbba2b
dnys1 pushed a commit to dnys1/amplify-flutter that referenced this issue Aug 1, 2022
Initial developer preview release.

### Developer Preview

The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is **not** intended for production usage. Please follow our [Web](aws-amplify#234) and [Desktop](aws-amplify#133) support tickets to monitor the status of supported categories. We will be releasing support incrementally to all platforms.

For production use cases please use the latest, non-tagged versions of amplify-flutter packages from `pub.dev`. They offer a stable, production-ready experience for Android and iOS.

commit-id:2cbbba2b
dnys1 pushed a commit to dnys1/amplify-flutter that referenced this issue Aug 1, 2022
Initial developer preview release.

### Developer Preview

The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is **not** intended for production usage. Please follow our [Web](aws-amplify#234) and [Desktop](aws-amplify#133) support tickets to monitor the status of supported categories. We will be releasing support incrementally to all platforms.

For production use cases please use the latest, non-tagged versions of amplify-flutter packages from `pub.dev`. They offer a stable, production-ready experience for Android and iOS.

commit-id:2cbbba2b
dnys1 pushed a commit to dnys1/amplify-flutter that referenced this issue Aug 1, 2022
Initial developer preview release.

### Developer Preview

The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is **not** intended for production usage. Please follow our [Web](aws-amplify#234) and [Desktop](aws-amplify#133) support tickets to monitor the status of supported categories. We will be releasing support incrementally to all platforms.

For production use cases please use the latest, non-tagged versions of amplify-flutter packages from `pub.dev`. They offer a stable, production-ready experience for Android and iOS.

commit-id:2cbbba2b
dnys1 pushed a commit to dnys1/amplify-flutter that referenced this issue Aug 1, 2022
Initial developer preview release.

### Developer Preview

The Amplify Flutter libraries are being rewritten in Dart. This version is part of our developer preview for all platforms and is **not** intended for production usage. Please follow our [Web](aws-amplify#234) and [Desktop](aws-amplify#133) support tickets to monitor the status of supported categories. We will be releasing support incrementally to all platforms.

For production use cases please use the latest, non-tagged versions of amplify-flutter packages from `pub.dev`. They offer a stable, production-ready experience for Android and iOS.

commit-id:2cbbba2b
@haverchuck
Copy link
Contributor

Amplify Flutter announces web and desktop support (Developer Preview) for Authentication

Hi everyone,

Today AWS Amplify is announcing a developer preview to expand Flutter support to web and desktop, starting with the Authentication category.

With this developer preview version, developers can use a single codebase with the Amplify Authentication category to build Flutter apps that target iOS, Android, web, and desktop (Mac, Linux, Windows). Our Authenticator UI library has also been upgraded to support Flutter web and desktop, providing developers with a sign in/sign up experience that works across iOS, Android, web, and desktop with minimal configurations.

You can read more about this launch in our blog post and docs

We look forward to your feedback and will continue to work hard to deliver web and desktop support for the rest of Amplify Flutter categories in future releases.

@Groseuros
Copy link

Hello

First of all, thanks for this developer preview, this is awesome !

I've tested Auth on all platforms (username / pwd and social auth with web UI) and I've only a minor issue to report so far on Linux platform : when using social auth with web UI, I have to manually close the browser tab in order to complete authentication otherwise it loops forever on a white tab.

@Jordan-Nelson
Copy link
Member

Hi @Groseuros - Thank you for reporting this. Would you be able to open a new issue for this so that we can capture and relevant info and track a fix for this?

@pieterbergmans
Copy link

YEAH! I will test and provide you with feedback.

@abdallahshaban557
Copy link
Contributor

Amplify Flutter announces Web and Desktop support (Developer Preview) for API (GraphQL + REST), Analytics, and Storage

Hi everyone,

Today AWS Amplify is announcing a developer preview to expand Flutter support to web and desktop for API (GraphQL + REST), Analytics, and Storage.

With this developer preview version, you can use a single codebase to build Flutter apps that target iOS, Android, Web, and Desktop (Mac, Linux, Windows). We have also written fully this developer preview fully in Dart, providing you with a consistent experience across the platforms you target.

You can read more about this launch in our blog post

Next for us is supporting Datastore as well for Flutter Web and Desktop! Stay tuned!

@ErnestDaDev
Copy link

I am loving this! Kudos to you guys for bringing these! Cant't wait for DataStore! Should be awesome as well!

@abdallahshaban557
Copy link
Contributor

@ErnestDaDev - that is awesome to hear! Thank you for the feedback!

@Jordan-Nelson Jordan-Nelson changed the title Desktop Support Please Desktop Support for amplify-flutter Jan 11, 2023
@abdallahshaban557
Copy link
Contributor

Hi everyone,

We are excited to announce that we have released the general availability of Flutter web and desktop support for Auth, API (GraphQL + REST), Analytics, and Storage. To upgrade to our latest version, you can follow our upgrade guide. You can see a list of the features and bug fixes we have released in our release notes.

When interacting with GraphQL APIs, use the API category for all platforms or DataStore for Android or iOS. This is because we retained DataStore on the original Android & iOS implementation. We’re looking to bring data synchronization and offline-data experiences to the web and desktop in the future.

@abdallahshaban557
Copy link
Contributor

Hi Everyone,

Since we have support for all our categories except DataStore, we are closing this issue and have created a new RFC to get feedback from you on the use cases we need to support with Datastore for Web and Desktop. We are exploring the path forward, and we want to make sure we are fulfilling the use cases you need.

We welcome your feedback on this RFC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new feature or an enhancement to an existing API or category.
Projects
None yet
Development

No branches or pull requests