Nav apraksta

index.android.js 332B

12345678910111213
  1. 'use strict';
  2. import { Platform } from 'react-native';
  3. import AutoHeightWebViewOld from './index.android.old.js';
  4. import AutoHeightWebView from './index.android.current.js';
  5. const isBelowMarshmallow = Platform.Version < 23;
  6. const webview = isBelowMarshmallow ? AutoHeightWebViewOld : AutoHeightWebView;
  7. export default webview;