Skip to content

AWS IoT plugin for flutter, intended to fit nicely with flutter_cognito_plugin

License

Notifications You must be signed in to change notification settings

IoTReady/flutter-aws-iot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter AWS IoT

Pub

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' at ios/Podfile.
  • Add awsconfiguration.json by 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/.env file, and fill in the proper credentials.

  • Add awsconfiguration.json to the example app, by following instructions at flutter_cognito_plugin for both Android/iOS.

  • Run

flutter run

Prior art

About

AWS IoT plugin for flutter, intended to fit nicely with flutter_cognito_plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published