Code Monkey home page Code Monkey logo

Comments (5)

isoos avatar isoos commented on September 13, 2024

sgtm

from aws_client.

Schwusch avatar Schwusch commented on September 13, 2024

The pattern for doing so in other AWS SDKs is described here, just disregard the Java specific stuff:
https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html

from aws_client.

isoos avatar isoos commented on September 13, 2024

The only issue I have with the auto-detection is that right now the library is generic, it can be accessed on all the platforms. If we do auto-detection, it will to an extent, be hard-wired to use dart:io, making the libraries incompatible with JS apps.

Maybe a few indirection here and there would solve that... not sure yet what's the best decision here.

from aws_client.

Schwusch avatar Schwusch commented on September 13, 2024

We do conditional imports with stubs on the web, as demonstrated in this article: https://medium.com/@rody.davis.jr/how-to-build-a-native-cross-platform-project-with-flutter-372b9e4b504f

from aws_client.

isoos avatar isoos commented on September 13, 2024

Yeah, as long as package:http is using it, we can use it too...

from aws_client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.