Update README.md
This commit is contained in:
parent
8604449087
commit
ffeadb8a6e
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
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`](https://developer.android.com/reference/android/app/Activity#onNewIntent(android.content.Intent))).
|
||||
`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 (via [`Activity.onNewIntent`](https://developer.android.com/reference/android/app/Activity#onNewIntent(android.content.Intent))) while the `Activity` was already "started".
|
||||
|
||||
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`](https://developer.android.com/reference/android/app/Activity#setResult(int))) to it.
|
||||
|
||||
|
@ -26,7 +26,8 @@ ___Any contribution, idea, criticism or feedback is welcomed.___
|
|||
|
||||
|
||||
## Use cases
|
||||
- [OAuth based App Flip](https://developers.google.com/identity/account-linking/app-flip-overview) - 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.
|
||||
- [OAuth based App Flip](https://developers.google.com/identity/account-linking/app-flip-overview) - This was the initial motivation for this plugin. The plugin can be used to pass the `Intent` sent by Google App to the flutter environment - where the consent UI is shown - once it is authorized (or not), the result is sent back to the Google App.
|
||||
- Deeplink/Applink - This plugin is a genric implementation of [uni_links](https://pub.dev/packages/uni_links) plugin. While this plugin passes "any" Intents, `uni_links` only plasses app-link/deep-link Intents.
|
||||
- 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](#getting-started) section to implement this.
|
||||
|
||||
## Getting started
|
||||
|
|
Loading…
Reference in a new issue