apk_installer 0.0.4 copy "apk_installer: ^0.0.4" to clipboard
apk_installer: ^0.0.4 copied to clipboard

PlatformAndroid

A Flutter plugin for easy Android APK installation, compatible with Android API 19 and higher.

apk_installer #

A Flutter plugin for easy Android APK installation, compatible with Android API 19 and higher.

Usage #

To use this plugin, add apk_installer as a dependency in your pubspec.yaml file.

Example #

import 'package:flutter/material.dart';
import 'package:apk_installer/apk_installer.dart';

Future<void> _installApk() async {
  await ApkInstaller.installApk(filePath: 'path/to/your/package.apk');
}

void main() {
  runApp(
    const MaterialApp(
      home: Material(
        child: Center(
          child: ElevatedButton(
            onPressed: _installApk,
            child: Text('Install APK'),
          ),
        ),
      ),
    ),
  );
}

License #

This project is licensed under the MIT License - see the LICENSE file for details.

10
likes
160
pub points
86%
popularity

Publisher

unverified uploader

A Flutter plugin for easy Android APK installation, compatible with Android API 19 and higher.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on apk_installer