robylon_flutter_sdk 0.1.6
robylon_flutter_sdk: ^0.1.6 copied to clipboard
Flutter SDK for Robylon - same logic and functionality as robylon-react-native-sdk.
0.1.5 #
Added #
- iOS: HTML5
<video>support in WebView. ConfiguredallowsInlineMediaPlayback: trueandmediaTypesRequiringUserAction: const {}so inline video playback and programmatic load/seek (e.g. video thumbnails) work on iOS. - Android: WebView media permission handling. When the embedded page requests microphone/camera via
getUserMedia, the SDK now grants the request after confirming Android runtime permission, fixingNotAllowedErrorfor voice notes. - Android: If microphone permission is permanently denied, show a dialog with an "Open settings" option so the user can enable it from system settings.
- Mitigation for background flash: Transparent WebView surface and black container background plus injected page CSS (
background-color: #000) to avoid white flash when the app returns from background.
Changed #
- iOS: Mic permission flow no longer uses
permission_handleron iOS. The SDK sendsMIC_PERMISSION_GRANTEDto the web app and relies on WebKit’s owngetUserMediaprompt, so integrators do not need to addPERMISSION_MICROPHONE=1to their Podfile. - REQUEST_MIC_PERMISSION: Handled when sent inside a
WEB_MESSAGE_DEBUGpayload (in addition to top-level message type) so the native permission flow runs when the web app requests mic access. - Dependencies: Bumped
permission_handlerto^12.0.1,plugin_platform_interfaceto^2.1.8. Minimum Dart SDK set to>=3.5.0 <4.0.0. - README: Documented Android
RECORD_AUDIOandMODIFY_AUDIO_SETTINGSmanifest permissions and (where applicable) iOSNSMicrophoneUsageDescriptionfor voice/recording features.
Fixed #
- Voice note recording on Android: WebView media permission is now granted via
onPermissionRequestafter runtime mic permission is granted, resolvingNotAllowedError Permission deniedfromgetUserMedia. - iOS: Avoid showing the "Go to settings" mic dialog on first request or when permission is not permanently denied (dialog is Android-only).
0.0.1 #
- TODO: Describe initial release.