diff --git a/index.js b/index.js index 459da26..6ff4f48 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,6 @@ import React from 'react'; -import { View, WebView } from 'react-native'; +import { View } from 'react-native'; +import { WebView } from 'react-native-webview'; var js = ` var haveEvents = 'GamepadEvent' in window; diff --git a/package.json b/package.json index d202ac7..d3403cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-gamepad-controller", - "version": "0.1.0", + "version": "0.1.1", "description": "A react-native component to interface with gamepads/joysticks/controllers without using native code.", "main": "index.js", "repository": { @@ -21,6 +21,7 @@ }, "homepage": "https://github.com/domstoppable/react-native-gamepad-controller", "dependencies": { - "react": "16.3.1" + "react": "16.3.1", + "react-native-webview": "11.6.2" } }