diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..9e7d61e Binary files /dev/null and b/.DS_Store differ diff --git a/.babelrc b/.babelrc index 2bcd546..88666b1 100644 --- a/.babelrc +++ b/.babelrc @@ -2,7 +2,10 @@ "presets": ["babel-preset-expo"], "env": { "development": { - "plugins": ["transform-react-jsx-source"] + "plugins": [] + }, + "production": { + "plugins": ["transform-remove-console"] } } } diff --git a/.expo-shared/assets.json b/.expo-shared/assets.json new file mode 100644 index 0000000..8931c33 --- /dev/null +++ b/.expo-shared/assets.json @@ -0,0 +1,12 @@ +{ + "907d8c808585ccb1ccda97bffe4d541038666282ba5e0d4282cc90bf204b4835": true, + "dce6018beed2c2193615493bec95645ba4649f2daa672aa466884580449e02a4": true, + "d9aa6cd460a7339f3147dc32a862b3f8acf576fdc4911a49f6470b75777d2c8b": true, + "943548d26c37d81f633853140c5623d37e70e034c5e073067bce5825e0ce3d10": true, + "4fa4e72a98caaa63817e98a14b54f33038f8770eb643889276c6b4f9da09cb25": true, + "857d31f7797ca14e508de73737cbb2e07b72c2a07e4806cd6f3d4ebfe74d8ea2": true, + "aa37b9c1f59c2635b4623199883b482361284bb790580e58c535550a8e804cfe": true, + "100b28eb4f8d32c566d0365bda62352d38cd20e30c455386b0821bccdd37f2c2": true, + "232701aa5f70eb3a9ea3c8cd14d228c9b7d4bf99a9fd9cfd046752504416942e": true, + "54f60cdfe5e036eb842c9a60c41e27208138623dc0101d88edd6d0bbf561ed27": true +} \ No newline at end of file diff --git a/App.js b/App.js index 5c0271c..b7dc27e 100644 --- a/App.js +++ b/App.js @@ -2,13 +2,14 @@ import React from "react"; import Nav from "./src/app/App"; import { I18nManager } from "react-native"; import clone from "lodash/clone"; +import { registerRootComponent } from 'expo'; -export default class App extends React.Component { +class App extends React.Component { async componentWillMount() { try { //I18nManager.swapLeftAndRightInRTL(true) // if (Platform.OS === "android") await I18nManager.forceRTL(true); - if(!I18nManager.isRTL) + if (!I18nManager.isRTL) await I18nManager.forceRTL(true); } catch (e) { console.warn("RTL Error", e); @@ -26,3 +27,5 @@ export default class App extends React.Component { return