flutter_nsfw_scaner 1.0.12
flutter_nsfw_scaner: ^1.0.12 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.12 #
- Added graceful handling for native
SCAN_CANCELLEDin DartscanMediaBatch, returning controlled empty/partial-compatible batch payloads instead of throwing hardPlatformException.
1.0.11 #
- Handled native
SCAN_CANCELLEDin DartscanWholeGalleryas a graceful partial result instead of throwing a hardPlatformException.
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
resolveImageAssetPathandresolveVideoAssetPathimplementations toIOSNsfwScannerused 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 intoscanWholeGallery/scanGallery.
1.0.5 #
- Added
onChunkResultcallback support toscanMultipleMedia(...), 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
PHPhotosErrorDomaincases like3164). - Improved iOS asset resolution fallback chain to better materialize cloud-backed images (
requestImageDataAndOrientation->PHAssetResourceManagerdownload -> renderedUIImageexport). - 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
encryptimport in the example app. - Removed unused internal crypto helper method to keep
dart analyzeclean 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.