than_pkg 1.1.0 copy "than_pkg: ^1.1.0" to clipboard
than_pkg: ^1.1.0 copied to clipboard

android native plugin.it is my personal lib and you can use.this is my first lib.so is will bugs.

1.1.0 #

linux #

needed lib sudo apt install net-tools // wifi sudo apt install poppler-utils //pdf thumbnail sudo apt install ffmpeg //video thumbnail

android && linux #

  await ThanPkg.platform.getWifiAddressList();
  await ThanPkg.platform.genPdfCover(outDirPath: '', pdfPathList: []);
  await ThanPkg.platform.genVideoCover(outDirPath: '', videoPathList: []);

android only #

အသုံးပြုနိုင်တဲ့ Methods များ

await ThanPkg.platform.checkScreenOrientation();
await ThanPkg.platform.requestScreenOrientation(type: ScreenOrientationTypes.Portrait);

//android device info <Map> type
await ThanPkg.platform.getAndroidDeviceInfo()

//android any version can handle
await ThanPkg.platform.isStoragePermissionGranted();
await ThanPkg.platform.requestStoragePermission();

await ThanPkg.platform.openUrl(url: '');
await ThanPkg.platform.getPlatformVersion();
await ThanPkg.platform.getDeviceId();
await ThanPkg.platform.toggleKeepScreen(isKeep: false);
await ThanPkg.platform.toggleFullScreen(isFullScreen: !isFullScreen);
await ThanPkg.platform.checkAndRequestPackageInstallPermission();
await ThanPkg.platform.getLocalIpAddress();
await ThanPkg.platform.getWifiAddress();

android AndroidManifest #

//need permission
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
1
likes
0
points
1.25k
downloads

Publisher

unverified uploader

Weekly Downloads

android native plugin.it is my personal lib and you can use.this is my first lib.so is will bugs.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on than_pkg

Packages that implement than_pkg