Flutter AWS IoT #
- Basic pub/sub functionality.
- Supports AttachPolicy, which is needed to make cognito identity auth work with aws iot.
- Automatically handles cognito identity auth in the background.
- Use flutter plugin installation instructions on Dart Pub.
platform :ios, '9.0'at
awsconfiguration.jsonby following instructions at flutter_cognito_plugin for Android/iOS.
Example app #
git clone https://github.com/IoTReady/flutter-aws-iot.git cd example cp assets/.env.example assets/.env
example/assets/.envfile, and fill in the proper credentials.
exampleapp, by following instructions at flutter_cognito_plugin for both Android/iOS.
Prior art #
- TODO: Describe initial release.
Demonstrates how to use the aws_iot plugin.
Getting Started #
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: aws_iot: ^0.1.0
2. Install it
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.7.1
- pana: 0.13.5
- Flutter: 1.12.13+hotfix.7
Health issues and suggestions
Document public APIs. (-1 points)
33 out of 33 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.
flutter format to format
Maintenance issues and suggestions
Support latest dependencies. (-20 points)
The version constraint in
pubspec.yaml does not support the latest published versions for 2 dependencies (
The package description is too short. (-20 points)
Add more detail to the
description field of
pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.
|Dart SDK||>=2.1.0 <3.0.0|