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

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

example/lib/main.dart

import 'dart:io';

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

final _apkFile = File('path/to/your/package.apk');

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

Future<void> _installApk() async {
  await ApkInstaller.installApk(filePath: _apkFile.path);
}
10
likes
0
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

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on apk_installer