summaryrefslogtreecommitdiffhomepage
path: root/app/index.android.js
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-04-12 09:41:13 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-04-16 12:01:12 +0200
commit7f485b287d9a501e7de11d470d68f1e698ff10c2 (patch)
tree81767a79b7d47f813da5ef2edcff150a243b3416 /app/index.android.js
parentc9f2ec62790a62e674b1252a6a18dec451d17bf3 (diff)
downloadmullvadvpn-7f485b287d9a501e7de11d470d68f1e698ff10c2.tar.xz
mullvadvpn-7f485b287d9a501e7de11d470d68f1e698ff10c2.zip
JS fixes for react-native
Diffstat (limited to 'app/index.android.js')
-rw-r--r--app/index.android.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/index.android.js b/app/index.android.js
new file mode 100644
index 0000000000..1e9594a1c9
--- /dev/null
+++ b/app/index.android.js
@@ -0,0 +1,6 @@
+import React from 'react';
+import RX from 'reactxp';
+import App from './App';
+
+RX.App.initialize(true, true);
+RX.UserInterface.setMainView(<App />); \ No newline at end of file