talira

android_intent_plus

A Flutter plugin for launching Android intents

open sourceBSD-3-Clausefree

android_intent_plus is a Flutter plugin from the Flutter Community's Plus plugins that lets a Flutter app launch arbitrary Android intents, with an action, category, data and extra arguments, including standard actions such as opening a URL or an app's settings page. It can also check whether any activity can handle an intent and which one would. It runs on Android only, is BSD-3-Clause licensed and lives in the fluttercommunity/plus_plugins monorepo.

Problems it solves

  • open my app's Android settings page from a Flutter app
  • launch another Android app or a specific screen from Flutter
  • check whether any app on the phone can open a link before trying it in Flutter

Features

  • launch Android intents with action, category, data and extras
  • constants for standard Android actions
  • check whether an activity can handle an intent (canResolveActivity)
  • find the activity that would handle an intent (getResolvedActivity)

Limitations

  • Android only: calling it on iOS crashes the app1
  • Doesn't return the result of the launched activity1

Alternatives

The same job

These do what android_intent_plus does.

  1. flutter_local_notifications Cross-platform Flutter plugin for displaying and scheduling local notifications
  2. local_auth Flutter plugin for local authentication with biometrics, passcode, PIN or pattern
  3. url_launcher Flutter plugin for opening URLs, phone numbers, SMS and email links
  4. webview_flutter Flutter plugin that shows web pages in a WebView widget
  5. permission_handler Request and check app permissions in Flutter
  6. flutter_inappwebview Flutter plugin for inline webviews, headless webviews and in-app browser windows

Compare android_intent_plus with the top 3