Thomas Beverley b6a38e80e0 Expose setAllowUniversalAccessFromFileURLs in Android WebView
Summary:
This pull request exposes the `setAllowUniversalAccessFromFileURLs` method of Android WebViewSettings as a property. The reason for this is when loading pages with a `file://` baseUrl it's sometimes desirable to allow loading other assets from a file base url. (For example loading an image into a canvas). More information on its use and purpose can be found [in the android docs here](https://developer.android.com/reference/android/webkit/WebSettings.html#setAllowUniversalAccessFromFileURLs%28boolean%29)

Usage example:

``` jsx
return (
  <WebView
    source={{ html: myhtml, baseUrl: 'file://' }}
    allowUniversalAccessFromFileURLs={true}
    javaScriptEnabled={true} />
)
```
Closes https://github.com/facebook/react-native/pull/8905

Differential Revision: D4147245

Pulled By: hramos

fbshipit-source-id: 7eaa884b8c0268de52b284954a34acec0fbd4061
2016-11-08 08:43:38 -08:00
..
2016-10-14 08:13:55 -07:00
2016-11-07 20:43:37 -08:00
2016-11-04 05:43:44 -07:00
2016-10-11 10:14:28 -07:00
2016-11-04 05:43:44 -07:00
2016-10-12 19:28:42 -07:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-11-02 12:29:15 -07:00
2016-08-09 06:43:46 -07:00
2016-11-04 18:43:42 -07:00
2016-11-02 12:29:15 -07:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-07-25 03:43:29 -07:00
2016-08-09 06:43:46 -07:00
2016-11-04 05:43:44 -07:00
2016-11-04 05:43:44 -07:00
2016-08-12 07:28:38 -07:00