Skip to content

Commit

Permalink
fixed asyncStorage on android (fbsamples#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaSkripchenko authored and frantic committed Apr 5, 2018
1 parent ebdec8c commit dcb8180
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand All @@ -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);
Expand Down

0 comments on commit dcb8180

Please sign in to comment.