adovvy_sdk 1.0.1
adovvy_sdk: ^1.0.1 copied to clipboard
Adovvy SDK for Flutter apps. Adovvy is an AI platform built on three pillars: data intelligence, voice AI, and computer vision.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project follows Semantic Versioning.
1.0.0 #
Added #
- Initial
adovvy_sdkFlutter package structure and example app.
Changed #
- Navigation: removed the intermediate “button screen”;
AdovvySdk.openChat(...)now opens the chat WebView directly. - Chat close: the chatbot “X” now requests closing by popping the WebView route.
- WebView: load chatbot HTML with a
baseUrlderived fromloaderScriptUrlto avoidabout:blankorigin issues. - WebView (Android): enable hybrid composition to reduce device-specific white/blank WebView rendering issues.
- Web widget host HTML: removed CSS that hid widget launcher/root elements (prevents blank UI while scripts still run).
- Breaking:
loaderScriptUrland runtimescriptsare no longer configured viaAdovvySdk.init(...)/AdovvyChatbotConfig.- Pass them from your UI layer to
AdovvySdk.openChat(context, loaderScriptUrl: ..., scripts: ...).
- Pass them from your UI layer to
- Breaking:
loaderScriptUrlandscriptsare now part ofAdovvyChatbotConfigagain (single configuration object). AdovvySdk.openChat(context)no longer accepts loader/script parameters; it reads them from the initializedAdovvyChatbotConfig.AdovvySdk.openChat(...): SDK error conditions are logged to the console (debugPrint+FlutterError.reportError) instead of showing UI dialogs.
1.0.1 #
Added #
- Voice input support: handle microphone permission requests from the in-app chat experience (Android runtime permission + grant/deny flow).
- iOS voice input support: document required
NSMicrophoneUsageDescriptionusage string. - Dependency: add
permission_handlerto request microphone permission on Android. - Android voice input: document/add
MODIFY_AUDIO_SETTINGSalongsideRECORD_AUDIOto ensure an audio device is available for recording. - Attachments (Android): handle file upload picker requests (e.g.
<input type="file">). - Dependency: add
file_pickerfor attachment selection. - iOS attachments: document required camera/photo library usage descriptions to prevent crashes when taking photo/video.