robylon_flutter_sdk 0.1.6 copy "robylon_flutter_sdk: ^0.1.6" to clipboard
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. Configured allowsInlineMediaPlayback: true and mediaTypesRequiringUserAction: 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, fixing NotAllowedError for 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_handler on iOS. The SDK sends MIC_PERMISSION_GRANTED to the web app and relies on WebKit’s own getUserMedia prompt, so integrators do not need to add PERMISSION_MICROPHONE=1 to their Podfile.
  • REQUEST_MIC_PERMISSION: Handled when sent inside a WEB_MESSAGE_DEBUG payload (in addition to top-level message type) so the native permission flow runs when the web app requests mic access.
  • Dependencies: Bumped permission_handler to ^12.0.1, plugin_platform_interface to ^2.1.8. Minimum Dart SDK set to >=3.5.0 <4.0.0.
  • README: Documented Android RECORD_AUDIO and MODIFY_AUDIO_SETTINGS manifest permissions and (where applicable) iOS NSMicrophoneUsageDescription for voice/recording features.

Fixed #

  • Voice note recording on Android: WebView media permission is now granted via onPermissionRequest after runtime mic permission is granted, resolving NotAllowedError Permission denied from getUserMedia.
  • 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.