simple_native 0.0.13
simple_native: ^0.0.13 copied to clipboard
A comprehensive Flutter plugin for accessing native device features including Camera, Location, and Device Information.
0.0.13 #
- Android:
- Upgraded
com.google.mlkit:barcode-scanningto version17.3.0to support Android 16 KB page sizes. - Fixed an issue where Face ID (weak biometric) might not prompt on certain Android devices by correctly setting
AllowedAuthenticators.
- Upgraded
0.0.12 #
- Biometrics:
- Breaking Change: Refactored
getAvailableBiometricto returnSimpleBiometricTypedirectly instead of a String, and removednotEnrolled. It now focuses purely on hardware capabilities (face,fingerprint,iris,notSupported). - Added support for
irisbiometric type on Android. - Breaking Change: Refactored
authenticatestates.notEnrolledis merged intonotSupported. The method can now be safely called multiple times sequentially without getting stuck on both Android and iOS. - Fixed a bug on Android where
authenticaterequiredFragmentActivityon all versions. It now supports the defaultFlutterActivity. - Added a new method
openBiometricSettings()to deep-link users directly to the system's biometric enrollment/security settings page on both Android and iOS.
- Breaking Change: Refactored
- Documentation:
- Updated
README.mdto reflect the new biometric flow andopenBiometricSettingsusage.
- Updated
0.0.11 #
- Camera:
- Fixed
takePicturereturning null on iOS by properly handling async result callback. - Improved iOS camera stability: added
isSwitchingandisDisposedflags to prevent race conditions and crashes during rapid interactions. - Implemented explicit
stopCameramethod on iOS for better resource cleanup. - Ensured
takePicturereturns a valid file path on both Android and iOS.
- Fixed
0.0.10 #
- SimpleDeviceInfo:
- Core: Added deviceId to SimpleDeviceInfo.
- Native: Implemented persistent ID across reinstalls via ANDROID_ID (Android) and Keychain (iOS).
0.0.9 #
- Location:
- Fixed location address retrieval.
0.0.8 #
- Camera:
- Added
cameraPositionparameter toSimpleCameraViewto allow selecting the initial camera (front/back). - Fixed
IllegalStateException: CameraDevice was already closedcrash on Android when switching cameras rapidly. - Fixed
updateAcquireFence: Did not find frameerror on Android by properly managing Surface lifecycle. - Improved camera resource management and cleanup on both Android and iOS.
- Added support for mirroring front camera preview on iOS.
- Added
0.0.7 #
- Metadata:
- Added
topicstopubspec.yamlto improve package discoverability on pub.dev. - Keywords include:
camera,location,device-info,native,plugin.
- Added
0.0.5 #
- Refactor:
- Merged
SimpleCameraConverterfunctionality intoSimpleCameraImage. - Added
toImage()method toSimpleCameraImagefor easy conversion to BMP format. - Removed
SimpleCameraConverterclass.
- Merged
- Documentation:
- Updated README to reflect the API changes and new version.
- Updated package description in
pubspec.yamlto be more professional.
0.0.4 #
- Camera:
- Made
onResultcallback optional inSimpleCameraView. - Fixed camera preview orientation issues on iOS.
- Locked camera view to portrait orientation on both Android and iOS to prevent unwanted rotation.
- Fixed image stream rotation on iOS (now correctly oriented).
- Added support for mirroring front camera stream on iOS.
- Made
- Documentation:
- Updated README with new features and license information.
- Added BSD 3-Clause License.
0.0.1 #
- Initial release.
- Added
SimpleCameraViewfor camera preview and image capture. - Added
SimpleNativeclass for accessing native features. - Implemented
getCurrentLocationto retrieve device coordinates. - Implemented
getDeviceInfoto retrieve device details. - Supported Android and iOS platforms.