bridge_flutter_sdk 2.1.2
bridge_flutter_sdk: ^2.1.2 copied to clipboard
bridge-flutter-sdk — ViewTrade Bridge Flutter SDK (token launch → WebView shell).
Changelog #
2.1.2 #
- Docs: README install constraint updated to
^2.1.1. - Release packaging aligned with funding, safe-area, and Android WebView fixes.
2.1.1 #
- Android: keep funding/checkout navigations in the main WebView (avoid gesture→overlay).
- Funding
window.openpopups: full-bleed overlay with no host close button. - Align iOS/Android bottom tab bar height (WKWebView safe-area + Android inset clamp).
- Android: WASM streaming fallback, hybrid composition,
textZoom: 100. - Do not treat arbitrary
data:navigations as downloads.
2.1.0 #
Mobile App Integration (Bridge SDK UAT guide):
- Switch WebView to
flutter_inappwebview(popups /onCreateWindow). returnUrlmust be a custom scheme (e.g.myapp://sdk-return);onReturnreceivesBridgeReturnwithreason.- Camera/mic permission flow via
permission_handler. - Funding popup WebView, back-stack handling,
; wvUA strip, third-party cookies. - User-tapped links open in a closable overlay; document links view in-overlay.
- iOS
onNavigationResponse: show MIME WK can render (PDF); download the rest. mailto:/tel:open the default system apps (LaunchMode.externalApplication).- Document downloads: blob / zip /
downloadattr +onDownloadStartRequest; MethodChannelbridge_flutter_sdk/downloads. - Download permissions (Android storage/notifications; iOS Documents + Files sharing).
- Hide WebView scrollbars (native + CSS).
- Expiry fields required on launch payload.
2.0.0 #
Breaking rewrite around Bridge web SDK launch:
BridgeSdktakes host tokens,clientName,returnUrl, andenvironment.- On mount, SDK
POSTs/launchand loadslaunchUrlin a WebView. - Removed firmId/theme/config injection, RN message shim, GlomoPay, etc.