aws_iot 0.1.0 
aws_iot: ^0.1.0 copied to clipboard
A new flutter plugin project.
Flutter AWS IoT #
AWS IoT plugin for flutter, intended to fit nicely with flutter_cognito_plugin and mqtt_client.
- 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.
 
Install #
- Use flutter plugin installation instructions on Dart Pub.
 - Ensure 
platform :ios, '9.0'atios/Podfile. - Add 
awsconfiguration.jsonby following instructions at flutter_cognito_plugin for Android/iOS. 
Example app #
- Clone
 
git clone https://github.com/IoTReady/flutter-aws-iot.git
cd example
cp assets/.env.example assets/.env
- 
Edit
example/assets/.envfile, and fill in the proper credentials. - 
Add
awsconfiguration.jsonto theexampleapp, by following instructions at flutter_cognito_plugin for both Android/iOS. - 
Run
 
flutter run