app_utils 0.0.3 copy "app_utils: ^0.0.3" to clipboard
app_utils: ^0.0.3 copied to clipboard

outdated

Application plugin which provides utility functions for Android and iOS.

App Utils #

Pub Package Pub Package

Application plugin which provides utility functions for Android and iOS.

Installation #

Android #

No additional setup is required.

iOS #

In Ios, for opening the target app from your app, you need to provide the URL scheme of the target app.

To know more about URLScheme in iOS, please visit below link.
https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app

In your deployment target is greater than or equal to 9 then also need to update another app information in your Info.plist.

<key>LSApplicationQueriesSchemes</key>
<array>
<string>whatsapp</string> // url scheme
</array>

List of supported functions #

  1. launchApp (Android and iOS) :
    It opens target application from provided package name in Android and URLScheme in iOS.

  2. getInstalledApps (Android) :
    It returns a list of the installed applications from your devices.

  3. canLaunchApp (Android & iOS) :
    It checks application is launchable or not.

  4. getCurrentDeviceInfo (Android and iOS) :
    It returns current device information.

  5. getCurrentAppInfo (Android and iOS) :
    It returns your application information.

  6. readLaunchedData (Android and iOS) :
    It allows us to read sender application data. In android, it reads data from activity intent but in iOS, it reads data from URL Scheme.

Upcoming features #

  1. openDeviceSettings : Open device settings application.

Bugs or Requests #

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on GitHub and I'll look into it. Pull request are also welcome.

8
likes
0
pub points
69%
popularity

Publisher

verified publishertechbyvishesh.in

Application plugin which provides utility functions for Android and iOS.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on app_utils