flutter_curiosity 8.0.2
flutter_curiosity: ^8.0.2 copied to clipboard
Integrates native and platform features for Android, iOS, macOS, HarmonyOS, Windows, Linux and web, including GPS, keyboard, apps and image saving.
8.0.2 #
- Fix an Android activity leak by clearing the activity binding when detaching from the activity, and register the method call handler when the engine attaches so calls no longer crash before an activity is available.
- Re-register the Android keyboard listener after a configuration change or activity recreation.
- Stop consuming all activity results on Android:
onActivityResultnow returnsfalse. - Fix concurrent iOS image and video saves that could leave a Dart future pending, and release each result after the system completion handler runs.
- Remove duplicate iOS keyboard notifications and report the keyboard as hidden when its height is zero.
- Harden HarmonyOS image saving with unique cache file names, closed file handles, and a result for every failure path.
- Ignore pinch zoom when detecting the web keyboard height and subtract the visual viewport offset.
- Roll back keyboard listeners in Dart when the platform channel call throws.
8.0.1 #
- Fix the HarmonyOS build by declaring explicit return types in
CuriosityPlugin.ets, as ArkTS rejects inferred return types (arkts-no-implicit-return-types).
8.0.0 #
- Add web support: keyboard status through the browser visual viewport, GPS permission state, image downloads and best-effort window closing.
- Add Windows and Linux support as Dart-only plugins:
exitAppand saving images/videos to the Pictures or Videos folder. GPS and keyboard status returnfalseon these platforms. - Platform helpers such as
Curiosity.isAndroidandCuriosity.isMacOSnow returnfalseon web. - Upgrade the example app's Android, iOS and macOS projects to Flutter 3.47. HarmonyOS support is kept and
the
ohosimplementation is not upgraded. - Rewrite the example as a single-page Chinese UI with system, Android-only and image saving sections. Demos are enabled per platform and list their supported platforms.
- Complete Swift Package Manager support for iOS and macOS, including bundled privacy manifests.
Remove the duplicated macOS
Classessources and align the Podspec deployment targets. - Add macOS image and file saving to the Pictures and Videos folders. Sandboxed host apps need the
com.apple.security.assets.pictures.read-writeandcom.apple.security.assets.movies.read-writeentitlements. - Fix macOS saving for IDE-launched apps by removing the Photos authorization request, which could terminate the app through TCC when the responsible process had no photo library usage description.
- Merge the iOS and macOS native implementations into shared Darwin sources. The Dart API, method channel names and parameters are unchanged.
- Fix
removeKeyboardListener: the native keyboard listener is now removed when the last callback is removed, and the remaining callbacks keep receiving events. - Fix keyboard listener removal on HarmonyOS by keeping the same callback reference.
- Fix the iOS JPEG compression quality that used integer division and harden the image saving flow.
- Improve Android image saving (compress result, file extension and MediaStore cleanup) and support package queries on Android 13+.
AppPackageInfofields are no longer nullable;AndroidActivityResultfields are final.- Remove the deprecated
packageattribute from the Android library manifest (AGP 9 compatible). - Fix AGP 9 builds when the app disables built-in Kotlin (
android.builtInKotlin=false), as the Flutter 3.47 template does, by applying the Kotlin Gradle plugin conditionally. - Add homepage, issue tracker and topics to
pubspec.yaml, rewrite the README and bumpflutter_lintsto 6.
7.2.0 #
- Supports SPM for iOS and macOS,
- Supports AGP 9.0+ for Android.
7.1.0 #
- Add
getPackageInfoforNativeToolson Android
7.0.1 #
- Supports HarmonyOS
- Modify some parameter names
6.8.0 #
- Currently supports versions 3.27 to 3.35
6.7.0 #
- Added
addKeyboardListener,removeKeyboardListenerforNativeTools - Added
NativeKeyboardStatus,AndroidKeyboardParams,IOSKeyboardParamsfor Native
6.6.0 #
- Migrate to 3.29.0
- Compatible with Android 35
6.4.0 #
- Add multiple themes for Android ,
BaseAppThemeandBaseNormalTheme
6.3.1 #
- Update gradle version
6.2.0 #
- Added
ImageGalleryToolsfor saving images to albums, supporting Android and iOS
6.1.0 #
- The call mode of
Curiosity()is changed toCuriosity.
6.0.0 #
- Remove the DesktopTools
5.0.5 #
PackageInfoPlusis changed toPackageSelfInfo
5.0.3 #
- Add
namespacein Android
5.0.2 #
- Remove duplicate methods
4.5.0 #
- Remove
CuriosityEvent - Added fl_channel plug-in
4.3.1 #
- dart sdk: '>=2.18.0 <4.0.0'
4.3.0 #
- Migrate MacOSWebView to fl_webview
4.2.1 #
- Compatible with Flutter 3.7.0
4.0.1+1 #
- Compatible with flutter 3.0.0
3.5.1 #
- Add
generateDeviceId、deviceIdto The Android device forDeviceInfoModel - Add Open webView for MacOS
3.3.3 #
- Fix bugs on MacOS
- Add the lowest version on ios and MacOS
3.3.2 #
- Add style
LaunchThemeFullscreenWhiteIcon,LaunchThemeFullscreenWhite,LaunchThemeFullscreenBlackIcon,LaunchThemeFullscreenBlack,LaunchThemeFullscreenIcon,LaunchThemeFullscreen,NormalThemefor Android any picture - Optimization method
3.3.0 #
- Remove instance , direct initialization
3.2.1 #
- Fix bugs for Android
- Update gradle version
- Update kotlin version
3.2.0 #
- Refactoring code in Native And dart
- Fix installApp bug in Android
- Fix desktop bug in MacOS
3.1.1 #
- Fix bug for DesktopSize
- Add
openFilePickerandsaveFilePickermethods for MacOS - Add
openSystemSettingfor MacOS
3.0.1 #
- Add doc
- Add
getAppPath()、getDeviceInfo()、getAppInfo()support Android/IOS/macOS - Delete
ScannerView(), Split tofl_mlkit_scanning(https://github.com/Wayaer/fl_mlkit_scanning) - Remove
scanImageUrl()、scanImageMemory()、 - Modifying swift by OC on IOS and MacOS platforms
- Add native message channel support Android and IOS .
CuriosityEvent - Remove
openSystemShare()
2.2.1 #
- Add example
- Remove permissions in android/AndroidManifest.xml , you need to add them manually
2.2.0 #
- Add onResultListener to support onActivityResult and onRequestPermissionsResult on Android
2.1.2 #
- Fix bug for
systemCallPhonein IOS
2.1.1 #
- Add systemCallPhone
- Remove goToMarker, add openAndroidMarket for Android
- Fix bugs for isInstallApp
2.0.9 #
- Fix bugs for desktop
2.0.6 #
- Fix bugs for Android
installApp - Add
InstallResultenum
2.0.3 #
- Add void
keyboardListener
2.0.2 #
- Add doc
2.0.1 #
- Add example
2.0.0 #
- Supported null-safety
1.6.0 #
- Optimize native Android & IOS
1.5.0 #
- Modify styles.dart
- the modification conflicts with the method of the camera component
1.3.6 #
- Remove TZImagePickerController and picture_library
- Remove openImagePicker
- Modify styles.dart
- the modification conflicts with the method of the camera component
1.3.3 #
- Code for Android to add jump settings
- Add get device information
- Example added
1.3.2 #
- Remove unzip
- Format code
1.2.4 #
- Fix scanner bug
- Add lint
1.2.2 #
- Fix bugs
1.2.1 #
- Refactoring all class and file names
- Optimization part code
- Add MacOS platform support
1.1.4 #
- After repairing the dispose component of scanner, the controller still holds the
- Fix the error of scanner component switching background and foreground
1.1.3 #
- Optimization class
1.1.0 #
- Scanner to replace texture components
- Optimize scan speed and accuracy
- Update picture selector version
0.0.1 #
- Create lib