gemini_nano_android 1.1.0
gemini_nano_android: ^1.1.0 copied to clipboard
A Flutter plugin to access on-device Gemini Nano models via Android AI Core. Enables offline inference and privacy-first text generation.
1.1.0 #
- Feat: Added initial support for iOS platform.
- Feat: Added iOS support for the example project.
- Note: iOS functions currently return default values (
getModelVersion=> null,isAvailable=> false,generate=> []).
1.0.1 #
- Fix: Fixed the documentation and use of multimodal generation.
1.0.0 #
- Feature: Added support for Multimodal Input (Text + Image). The
generatemethod now accepts an optionalimageparameter (Uint8List). - Updated Android implementation to handle image decoding and processing via
BitmapFactory. - Updated example app with an Image Picker to demonstrate multimodal capabilities.
0.1.3 #
- Updated
generatemethod parameters to be non-nullable with default values. - Adjusted default values for
temperature,topK,candidateCount, andmaxOutputTokens. - Added documentation comments to the public API.
0.1.2 #
- Updated README documentation with screenshot table.
- Updated example app to support Markdown rendering.
0.1.1 #
- Added code coverage (Codecov) badge to README.
- Added GitHub Actions workflow for automated test coverage reporting.
0.1.0 #
- Breaking Change: The
generatemethod now returnsFuture<List<String>>instead ofFuture<String>to support multiple candidate responses. - Added optional generation parameters to
generate:temperature,seed,topK,candidateCount, andmaxOutputTokens. - Updated example app to support configuring generation parameters.
- Documentation updates.
0.0.2 #
- Migrated from
com.google.ai.edge.aicoretocom.google.mlkit:genai-promptAPI (v1.0.0-beta1). - Refactored
isAvailablelogic in Android plugin. - Added execution time display to the example application.
0.0.1 #
- Initial release. Support for text generation via Gemini Nano on Android.
- Added
GeminiNanoAndroidclass methods:getPlatformVersion,isAvailable,generate.