From dcb81802b5e08c49f97e21168e473ed0c7688325 Mon Sep 17 00:00:00 2001 From: Nikita Skripchenko Date: Thu, 5 Apr 2018 11:40:40 +0300 Subject: [PATCH] fixed asyncStorage on android (#206) --- js/setup.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/setup.js b/js/setup.js index a2c110916..72a74c0b9 100644 --- a/js/setup.js +++ b/js/setup.js @@ -29,7 +29,7 @@ import configureStore from "./store/configureStore"; import { Provider } from "react-redux"; // Components -import { Text } from "react-native"; +import { Text, AsyncStorage } from "react-native"; import F8App from "./F8App"; import LaunchScreen from "./common/LaunchScreen"; @@ -38,6 +38,7 @@ import { serverURL, parseAppID } from "./env"; function setup(): ReactClass<{}> { console.disableYellowBox = true; + Parse.setAsyncStorage(AsyncStorage); Parse.initialize(parseAppID); Parse.serverURL = `${serverURL}/parse`; console.log("DEBUG!!! " + serverURL);