Improved
v2.1.3
24 days ago by ReadMe GitHub Action
Added
-
Styling escape hatches on both SDKs. Both
@oobit/react-weband@oobit/react-native-sdknow accept astyleprop on the outer container. The web SDK also acceptsclassName. -
iframeProps(web) andwebViewProps(React Native) — forward extra props to the underlying iframe/WebView. SDK-managed props (src/source,ref,onMessage/onLoad,sandbox,allow, navigation handlers) are blocked at the type level so you can't accidentally break the transport layer.// React Web <WidgetSDK accessToken={token} style={{ borderRadius: 12, overflow: "hidden" }} iframeProps={{ scrolling: "no" }} /> // React Native <WidgetSDK accessToken={token} style={{ backgroundColor: "#fff" }} webViewProps={{ showsVerticalScrollIndicator: false, showsHorizontalScrollIndicator: false, }} />
Fixed
- iPhone Dynamic Island overlap (React Native). The WebView now sets
contentInsetAdjustmentBehavior="never"andautomaticallyAdjustContentInsets={false}so the widget'senv(safe-area-inset-top)reports the real safe area and the title clears the Dynamic Island. - React Native 0.85 compatibility. Replaced the removed
StyleSheet.absoluteFillObjectwithStyleSheet.absoluteFillin the loading overlay.
Versions
- React Web SDK bumped to
1.3.3. - React Native SDK bumped to
3.3.3.
