UNPKG

react-native-webview-bypass-ssl-errors

Version:

React Native WebView component for iOS, Android, macOS, and Windows. Uses for local development with self-signed SSL certificates or with any endpoints that have some bad SSL certificates

12 lines (11 loc) 426 B
import React from 'react'; import { Text, View } from 'react-native'; // This "dummy" WebView is to render something for unsupported platforms, // like for example Expo SDK "web" platform. var WebView = function () { return (<View style={{ alignSelf: 'flex-start' }}> <Text style={{ color: 'red' }}> React Native WebView does not support this platform. </Text> </View>); }; export { WebView }; export default WebView;