Wooyoung Kang
Wooyoung Kang

Reputation: 85

How do I launch an app inside of my flutter app?

I'm trying to build a flutter app that could launch all kinds of apps with a button. But I can't find a way to launch an app without using a browser or going through the google play store and the app store.

Is there a way to launch the app directly without using a browser or the play/app store?

Upvotes: 2

Views: 4704

Answers (1)

Lorenzo Pichilli
Lorenzo Pichilli

Reputation: 3429

You can try my plugin flutter_appavailability: A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps. Methods available:

  • checkAvailability(String uri)
  • getInstalledApps() (only for Android). Unfortunately, for iOS there is no way to get the list of installed apps!
  • isAppEnabled(String uri) (only for Android)
  • launchApp(String uri)

In the README.md file there is an example with screenshots

Upvotes: 4

Related Questions