flutter_nsfw_scaner 1.0.13 copy "flutter_nsfw_scaner: ^1.0.13" to clipboard
flutter_nsfw_scaner: ^1.0.13 copied to clipboard

On-device NSFW detection for Flutter (Android/iOS) with TensorFlow Lite: image/video scans, mixed batch and gallery scanning, progress streaming, and cancellation.

1.0.13 #

  • Improved iOS whole-gallery video scanning resilience: duration probing now uses async asset/track fallbacks and no longer hard-fails assets when duration is temporarily unavailable.
  • Added safe single-frame fallback scan (t=0) for cloud/mutated videos when duration cannot be resolved, reducing per-item video errors during large gallery scans.

1.0.12 #

  • Added graceful handling for native SCAN_CANCELLED in Dart scanMediaBatch, returning controlled empty/partial-compatible batch payloads instead of throwing hard PlatformException.

1.0.11 #

  • Handled native SCAN_CANCELLED in Dart scanWholeGallery as a graceful partial result instead of throwing a hard PlatformException.

1.0.10 #

  • Improved iOS whole-gallery hit stability with thumbnail-first scanning and automatic full-asset fallback when thumbnail extraction/materialization fails.

1.0.9 #

  • Fixed iOS compile error by adding missing resolveImageAssetPath and resolveVideoAssetPath implementations to IOSNsfwScanner used by whole-gallery fallback scanning.

1.0.8 #

  • Improved iOS whole-gallery media materialization: if direct thumbnail/AVAsset access fails, scanner now falls back to local cached asset extraction before scan.
  • This aligns native whole-gallery behavior closer to photo_manager-style flows for cloud-backed assets.

1.0.7 #

  • Fixed gallery auto-upload queue handling for iOS ph:// assets by resolving to local file paths before upload.
  • Prevented a single failed auto-upload task from stopping the entire queue, improving whole-gallery stability and throughput.

1.0.6 #

  • Fixed iOS native whole-gallery thumbnail scanning fallback so PhotoKit data-read failures no longer abort alternative image-request paths for existing assets.
  • Added an iOS native deferred retry pass for temporarily unavailable gallery assets: failed items are queued to the end and retried before final completion.
  • Added iOS media permission status API and limited-library expansion API (getMediaPermissionStatus, presentLimitedLibraryPicker) and wired optional limited-access expansion into scanWholeGallery/scanGallery.

1.0.5 #

  • Added onChunkResult callback support to scanMultipleMedia(...), aligned with chunked scan workflows.

1.0.4 #

  • Fixed scanMultipleMedia(assetRefs: ...) to skip unresolved iOS PhotoKit assets and continue scanning instead of aborting the full run.
  • Added per-asset error entries for failed asset resolution (for example iCloud/restricted/unresolvable assets, including common PHPhotosErrorDomain cases like 3164).
  • Improved iOS asset resolution fallback chain to better materialize cloud-backed images (requestImageDataAndOrientation -> PHAssetResourceManager download -> rendered UIImage export).
  • Enabled network-backed export options for iOS video asset resource materialization to improve real-device iCloud retrieval reliability.

1.0.2 #

  • Added ThemeData-aware defaults for UI kit widgets (NsfwScanWizardStepHeader, NsfwBottomActionBar, NsfwBatchProgressCard, NsfwGalleryLoadCard, NsfwResultStatusChip) so they adapt to host app color schemes out of the box.
  • Kept explicit color overrides fully supported for existing integrations.

1.0.1 #

  • Fixed iOS CocoaPods integration for host apps by marking the plugin as a static framework (s.static_framework = true) to avoid transitive static binary linkage errors with TensorFlow Lite.
  • Removed unused encrypt import in the example app.
  • Removed unused internal crypto helper method to keep dart analyze clean for publish validation.

1.0.0 #

  • Added full gallery scanning with streaming progress and chunk result events.
  • Added mixed media batch APIs (scanMediaBatch, scanMediaInChunks, scanMultipleMedia).
  • Added URL media scan API (scanMediaFromUrl) with optional file persistence.
  • Added on-demand image preview helpers (loadImageThumbnail, loadImageAsset).
  • Added cancellation support across scan flows via cancelScan.
  • Added optional UI widget kit for scan progress/results navigation.
  • Improved Android and iOS native scanner implementations and background execution.
  • Improved example app with scan wizard and picker-based workflows.
0
likes
0
points
116
downloads

Publisher

unverified uploader

Weekly Downloads

On-device NSFW detection for Flutter (Android/iOS) with TensorFlow Lite: image/video scans, mixed batch and gallery scanning, progress streaming, and cancellation.

Homepage

License

unknown (license)

Dependencies

crypto, encrypt, flutter, plugin_platform_interface

More

Packages that depend on flutter_nsfw_scaner

Packages that implement flutter_nsfw_scaner