Mirror but with patch from https://github.com/daadu/receive_intent/pull/29 merged
Find a file
2021-04-25 10:24:29 +05:30
.idea - [giveResult] not sending data param if null 2021-04-24 23:38:30 +05:30
android - [Intent] renamed ReceivedIntent -> Intent 2021-04-25 09:20:20 +05:30
example - [Intent] renamed ReceivedIntent -> Intent 2021-04-25 09:20:20 +05:30
ios [genesis] initial plugin from project-template 2021-04-23 10:45:26 +05:30
lib - [Intent] renamed ReceivedIntent -> Intent 2021-04-25 09:20:20 +05:30
test initial working functionality 2021-04-23 14:06:07 +05:30
.gitignore initial working functionality 2021-04-23 14:06:07 +05:30
.metadata [genesis] initial plugin from project-template 2021-04-23 10:45:26 +05:30
CHANGELOG.md [genesis] initial plugin from project-template 2021-04-23 10:45:26 +05:30
LICENSE [genesis] initial plugin from project-template 2021-04-23 10:45:26 +05:30
pubspec.yaml pubspec and README updated 2021-04-25 10:24:29 +05:30
README.md pubspec and README updated 2021-04-25 10:24:29 +05:30
receive_intent.iml [genesis] initial plugin from project-template 2021-04-23 10:45:26 +05:30

receive_intent

pub.dev pub points popularity GitHub issues GitHub milestone GitHub stars GitHub forks

A Flutter plugin to pass Android Intents to the Flutter environment.

Intent in Android is the backbone of communicating between and within apps. This plugin passes the Intent, which "started" the Activity (which is running flutter runtime) to the flutter environment. It also passes any "new Intent" that was received while the Activity was already "started" (via Activity.onNewIntent).

If the Intent was "started" via startActivityForResult, then this plugin also sends additional information (package name and app signature) about the "calling" Android Component, and can send "result" back (via Activity.setResult) to it.

This widget is in active development. Any contribution, idea, criticism or feedback is welcomed.

package https://pub.dev/packages/receive_intent
Git Repo https://github.com/daadu/receive_intent
Issue Tracker https://github.com/daadu/receive_intent/issues

Use cases

  • OAuth based App Flip - This was the initial motivation for this plugin. The plugin can used to pass the Intent sent by Google App to the flutter environment - where the UI for consent for user is show - once it is authorized (or not), the result is sent back to the Google App.
  • In general, if you want other apps to "start" your app, then this plugin can pass the Intent that "triggered" it to the flutter environment of the app. These Intent will give the app understanding of why the app was started. Check Getting started section to implement this.

Getting started

TODO

Todo

  • Document API references properly
  • Receive Intent for non-Activity based intent-filter (BroadcastReceiver, Service)
  • Automatic testing

Contribute

Check the Todo section above, before you begin with any contribution.

  1. You'll need a GitHub account.
  2. Fork the repository.
  3. Pick an issue to work on from issue tracker.
  4. Implement it.
  5. Add your name and email in authors section in pubspec.yaml file.
  6. Send merge request.
  7. Star this project.
  8. Become a hero!!

Features and bugs

Please file feature requests and bugs at the issue tracker.