app_launcher 0.1.0+1 copy "app_launcher: ^0.1.0+1" to clipboard
app_launcher: ^0.1.0+1 copied to clipboard

outdated

A flutter plugin that launches an Android or iOS installed on the device using the application ID.

app_launcher #

Pub License

A flutter plugin that launches an Android or iOS installed on the device using the application ID.

NOTICE

Supports only Android as of now. PRs for iOS support will be very appreciated.

Usage #

Simply call the openApp static method and pass in your application ID as a String:

RaisedButton(
  onPressed: () async {
    await AppLauncher.openApp(
      androidApplicationId: "com.whatsapp",
    );
  },
  child: Text('Open WhatsApp'),
),

**Note: the androidApplicationId must neither be empty nor null.

TODO #

  • Android Support.
  • iOS Support.
  • Open Google Play / AppStore when app not found.
  • Support passing arguments.

Example #

Check the examples tab or take a look at the example file.

Contribution #

This project is fully open-source. Feel free to open issues when you realize one and PRs are welcome as well.

License #

This project has been licensed under the MIT License. Check the LICENSE file for the details.

23
likes
0
pub points
78%
popularity

Publisher

verified publisherakora-ingdkb.me

A flutter plugin that launches an Android or iOS installed on the device using the application ID.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on app_launcher