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

Flutter support #1852

Open
arsewizz opened this Issue Oct 6, 2018 · 51 comments

Comments

Projects
None yet
@arsewizz
Copy link

arsewizz commented Oct 6, 2018

is there any roadmap for flutter with amplify-js ?

@mlabieniec

This comment has been minimized.

Copy link
Contributor

mlabieniec commented Oct 6, 2018

Hello, we don't currently have this on our immediate roadmap but I we can definitely mark this as a feature request and track the interest here.

@arsewizz

This comment has been minimized.

Copy link
Author

arsewizz commented Oct 6, 2018

Thanks for the reply

@jaxondu

This comment has been minimized.

Copy link

jaxondu commented Oct 6, 2018

Very much interested.

@GregorySech

This comment has been minimized.

Copy link

GregorySech commented Oct 6, 2018

Same here!

@scottdewald

This comment has been minimized.

Copy link

scottdewald commented Oct 6, 2018

Interested! Lack of this SDK is why I didn't consider AWS when looking at cloud providers.

@sweepy84

This comment has been minimized.

Copy link

sweepy84 commented Oct 18, 2018

Same - I would have used AWS if flutter integration was available.

@peledni

This comment has been minimized.

Copy link

peledni commented Oct 26, 2018

Would love to see support for this!

@arthurliebhardt

This comment has been minimized.

Copy link

arthurliebhardt commented Nov 1, 2018

+1

1 similar comment
@wzedi

This comment has been minimized.

Copy link

wzedi commented Nov 7, 2018

+1

@piyushmaurya23

This comment has been minimized.

Copy link

piyushmaurya23 commented Nov 14, 2018

Looking forward to it. It will be a firebase killer for flutter. Currently, only firebase SDK is available for flutter, we definitely need more SDK for flutter also. Flutter seems promising, there shouldn't be a monopoly for cloud SDK. I would love to contribute to its progress for flutter. Please update here when development is started for flutter.

@rytedesigns

This comment has been minimized.

Copy link

rytedesigns commented Nov 16, 2018

+1

1 similar comment
@RaduGrama

This comment has been minimized.

Copy link

RaduGrama commented Nov 16, 2018

+1

@olivoil

This comment has been minimized.

Copy link

olivoil commented Nov 30, 2018

interested as well!

@sriharsha-y

This comment has been minimized.

Copy link

sriharsha-y commented Dec 1, 2018

+1

1 similar comment
@ykbryan

This comment has been minimized.

Copy link

ykbryan commented Dec 2, 2018

+1

@ankraj077

This comment has been minimized.

Copy link

ankraj077 commented Dec 4, 2018

Definitely Interested! A combo of Flutter and AWS Amplify will rock

@XgotecX

This comment has been minimized.

Copy link

XgotecX commented Dec 5, 2018

Same over here, very Interested!

@EddieRietz

This comment has been minimized.

Copy link

EddieRietz commented Dec 10, 2018

Same here. Highly interested!

@marcglasberg

This comment has been minimized.

Copy link

marcglasberg commented Dec 10, 2018

We need this. As fast as possible.

@YamauchiEA

This comment has been minimized.

Copy link

YamauchiEA commented Dec 10, 2018

Same here, this is a important feature!

@sdkitono

This comment has been minimized.

Copy link

sdkitono commented Dec 13, 2018

SHUT UP AND TAKE MY MONEY AND MAKE FLUTTER SDK

@sweepy84

This comment has been minimized.

Copy link

sweepy84 commented Dec 13, 2018

+1

2 similar comments
@WChoy

This comment has been minimized.

Copy link

WChoy commented Dec 28, 2018

+1

@cinerama

This comment has been minimized.

Copy link

cinerama commented Dec 29, 2018

+1

@topcatse

This comment has been minimized.

Copy link

topcatse commented Jan 3, 2019

Very much interested.

@charlesburks

This comment has been minimized.

Copy link

charlesburks commented Jan 10, 2019

+1 Please

@jeveloper

This comment has been minimized.

Copy link

jeveloper commented Jan 13, 2019

I'd love to chime in. I think strategically this would take away business from firebase (google cloud services as a whole) hence delaying this would be in amazon's best interest. I could be wrong.

also +1 , i enjoy both aws and google

@jomarks

This comment has been minimized.

Copy link

jomarks commented Jan 18, 2019

+1

1 similar comment
@whw583

This comment has been minimized.

Copy link

whw583 commented Jan 23, 2019

+1

@WChoy

This comment has been minimized.

Copy link

WChoy commented Jan 23, 2019

I may have to look into using Google's Firebase if I have to wait too long.

I'm intentionally assuming Technical Debt by temporarily using the "amazon_cognito_identity_dart" package.

@yacob89

This comment has been minimized.

Copy link

yacob89 commented Jan 24, 2019

Yeah, looking forward to this

@arok

This comment has been minimized.

Copy link

arok commented Jan 25, 2019

+10

@shahzadc

This comment has been minimized.

Copy link

shahzadc commented Jan 25, 2019

yes please

@vattcarter

This comment has been minimized.

Copy link

vattcarter commented Jan 26, 2019

We want amplify be able to work with flutter. firebase is supported by flutter but the down side is firebase is blocked in China. Please make flutter work with aws amplify

@sweepy84

This comment has been minimized.

Copy link

sweepy84 commented Jan 30, 2019

I believe this is now the most requested feature for Amplify!

WAKE UP AWS!!!

@EddieRietz

This comment has been minimized.

Copy link

EddieRietz commented Jan 30, 2019

I need this ASAP!

@pavankumarkatakam

This comment has been minimized.

Copy link

pavankumarkatakam commented Jan 31, 2019

+1

1 similar comment
@Vortexmind

This comment has been minimized.

Copy link

Vortexmind commented Feb 7, 2019

+1

@sivang

This comment has been minimized.

Copy link

sivang commented Feb 11, 2019

What's the status on this?

@sherlockholmes

This comment has been minimized.

Copy link

sherlockholmes commented Feb 12, 2019

+1

@sivang

This comment has been minimized.

Copy link

sivang commented Feb 13, 2019

This seems very interesting: https://github.com/jonsaw/amazon-cognito-identity-dart

@undefobj

This comment has been minimized.

Copy link
Contributor

undefobj commented Feb 14, 2019

Thank you all for the interest. As Amplify is an OSS project, we are constantly working through customer requests, PRs, and issues. Currently, there is no support in the Amplify Framework for Flutter. While we cannot commit to support Flutter at this time, knowing your use cases helps us with our roadmap planning.

That said, please could community members provide more details on the specific Flutter support you need at this time? For instance, “I’m building a Flutter app that will do X, Y, and Z. I require UI components for Auth, category support (high-level programming interfaces) for Storage and Analytics, and then low-level AWS service instances.”

@bgetsug

This comment has been minimized.

Copy link

bgetsug commented Feb 14, 2019

I've been watching this conversation for a while and would like to share my experience. I am currently developing a Flutter app which uses Amplify Storage (S3) for file uploads, while leveraging federation so I can continue to use Firebase for authentication. In short, I desire excellent offline-to-online and background behavior for file transfers, and I'm uncertain whether Firebase Storage delivers that across platforms.

Through my research on GCP/Firebase vs AWS storage, I discovered an open issue with Firebase background transfers on iOS. After comparing the Amplify Storage docs for iOS with the corresponding Firebase docs, I decided that I should start with Amplify instead. The Firebase Storage iOS docs don't make it clear how background transfers are handled across process restarts (while the Android docs do). This has been pretty confusing for someone new to mobile development, so perhaps there's an opportunity for AWS and Google/Firebase to really provide clarity and simplicity here.

Without peering under the hood of the Firebase and Amplify iOS SDKs and without actually trying Firebase Storage, I've made a bit of an assumption that Amplify Storage behaves better for background transfers and app restarts. After more research today, it looks like there was also some discussion in the Amplify SDK for iOS on how the iOS NSURLSession discretionary flag affects transfers, but it's somewhat unclear what the resolution was since the issue was auto-closed (🤷‍♂️).

In any case, I felt that I should learn how to write some "connective tissue" between Flutter and each platform, and that this was a good opportunity to do so. Flutter and Dart were pretty easy to learn, but Swift and Kotlin are definitely not my first languages, so it took me a week or two to handle all the (multi-part) upload, download, and auth federation cases. Generally, communication between Flutter and the Amplify SDKs has been working well for me during development. With regard to the high quality of the Flutter framework and ecosystem, I would like to encourage the Amplify team to consider supporting it sooner than later.

@fresnizky

This comment has been minimized.

Copy link

fresnizky commented Feb 22, 2019

👍

2 similar comments
@instantiationexception

This comment has been minimized.

Copy link

instantiationexception commented Mar 22, 2019

+1

@ahasnaini

This comment has been minimized.

Copy link

ahasnaini commented Mar 25, 2019

+1

@i-schuetz

This comment has been minimized.

Copy link

i-schuetz commented Mar 25, 2019

Please don't use +1 to push the issue. This unnecessarily spams subscribers. Upvoting the original post with 👍is enough.

@Esauromano

This comment has been minimized.

Copy link

Esauromano commented Mar 28, 2019

I just want to be able to save pictures or video to s3 via an App

@BerndWessels

This comment has been minimized.

Copy link

BerndWessels commented Apr 1, 2019

With amazon_cognito_identity_dart we can unofficially use most of AppSync and all the other AWS services already.

I personally don't need all the noise that Amplify adds - but rather make basic GraphQL queries and sort out offline caching myself (even though there are already flutter plugins that help with that too).

The main feature that is actually missing for AppSync on Flutter is Subscriptions - there is no way in hell I can dig that out of the AWS documentation or the Amplify code. I tried :(

If anybody could please provide the very basic code that does an authenticated websocket connection to AppSync to subscribe in any language without all the Amplify noise - then we can easily build dart / flutter support for this missing feature too.

Please anybody?

@BerndWessels

This comment has been minimized.

Copy link

BerndWessels commented Apr 4, 2019

^ I did some more research and finally figured it out. It's actually pretty straight forward using AppSync's websocket subscription. Basically we can make the usual sigv4 signed post request to AppSync to request the subscription and will then receive everything we need (a websocket url with authentication in the query parameter) to create the websocket connection.

I am taking the best of amazon-cognito-identity-dart and add some of my own goodness to it and hopefully we will have full AWS and AppSync with subscription websocket support for Flutter very soon.

I'll post here once I've release the first cut. Love to get some input and contributors then.

I'll also try to integrate the automatic model creation for built_value which should be enough to remove the need for an Amplify port to Flutter (even though I am looking forward to it).

@bobwiller

This comment has been minimized.

Copy link

bobwiller commented Apr 18, 2019

@BerndWessels let me know if you have anything you can share - i would love to help out. I am in the same boat as everyone else and trying to decide if I want to bridge to the appsync SDK or go this route.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.