app_installer 0.1.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 62

app_installer #

Install the application

中文说明

iOS #

  • Open AppStore app page
  • Open AppStore app reviews

Android #

  • Open google play app page
  • Install Apk File (Detect unknown source)

Getting Started #

Getting Started

Issues and feedback #

Please file issues to send feedback or report a bug. Thank you!

0.1.0 #

iOS #

  • Open AppStore app page
  • Open AppStore app reviews

Android #

  • Open google play app page
  • Install Apk File

example/README.md

app_installer_example #

Demonstrates how to use the app_installer plugin.

中文使用文档

Getting Started #

  • Open Store
/// App Info
String androidAppId = 'com.tengyue360.student';
String iOSAppId = '1440249706';

AppInstaller.goStore(androidAppId, iOSAppId);
  • Open Review
AppInstaller.goStore(androidAppId, iOSAppId, review: true);
  • Install Apk
AppInstaller.installApk('/sdcard/apk/app-debug.apk');

AndroidManifest.xml

<!-- Provider -->
<provider
    android:name="androidx.core.content.FileProvider"
    android:authorities="${applicationId}.fileProvider"
    android:exported="false"
    android:grantUriPermissions="true">
    <meta-data
        android:name="android.support.FILE_PROVIDER_PATHS"
        android:resource="@xml/file_paths" />
</provider>

android/app/src/main/res/xml/file_paths.xml

<?xml version="1.0" encoding="utf-8"?>
<paths>
    <external-path path="Android/data/packagename/" name="files_root" />
    <external-path path="." name="external_storage_root" />
</paths>

//Replace packagename with your app package name

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  app_installer: ^0.1.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:app_installer/app_installer.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
23
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
62
Learn more about scoring.

We analyzed this package on Oct 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test