Skip to content
pubscout

android_intent_plus

6.1.0, released 4 months ago by fluttercommunity.dev

Flutter plugin for launching arbitrary Android intents.

Flutter FavoriteWASM-readyRock solid
$ flutter pub add android_intent_plus
Source repository

What it does

Allows Flutter apps to launch Android intents by specifying actions, categories, data, and extra arguments. It also provides methods to query whether an activity can handle a given intent.

AI-written summary of version 6.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to launch custom Android intents or set extra parameters not supported by generic URL launchers.
  • You need to query whether an Android activity can handle a specific intent.

Skip it when

  • You are targeting iOS (the plugin crashes on iOS).
  • Simple URL launching or deep linking is all you need and url_launcher suffices.

Strengths

  • Enables full power of Android intents including actions, categories, and custom extras bundles.
  • Supports checking and resolving activities that handle specific intents.

Weaknesses

  • Android-only; not supported on iOS and will crash if invoked there.
  • Does not support returning the result of the launched activity.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
2

Requires ensuring platform is Android before invocation and configuring package visibility queries in AndroidManifest.xml if using query methods.

if (platform.isAndroid) {
  AndroidIntent intent = AndroidIntent(
      action: 'action_view',
      data: 'https://play.google.com/store/apps/details?id=com.google.android.apps.myapp',
  );
  await intent.launch();
}

Alternatives

Packages that do the same job and could replace android_intent_plus.

Works with

Packages commonly used together with android_intent_plus: ones it builds on, ones built on it, and its own family.