From 48a1a2790c05cad21751220dfe22e9f2deea986c Mon Sep 17 00:00:00 2001 From: Michael Shi Date: Sun, 14 Aug 2016 19:15:48 -0700 Subject: [PATCH] React Native Packager Compatibility Tip The issue is most likely how the packager resolves dependencies as the nested babel dependency isn't used. It's odd behavior that is hard to track down the root issue but this workaround seems to be pretty good for now. --- client/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/README.md b/client/README.md index 625fbc2be..127c198f4 100644 --- a/client/README.md +++ b/client/README.md @@ -56,3 +56,7 @@ Sometimes you may wish to delete all authentication tokens from localStorage. Yo // Note the 'H' Horizon.clearAuthTokens() ``` + +## Working with React Native + +React Native's packager will balk at the current `package.json` babel settings. The default settings in React Native will work perfectly fine for packaging the client library, so to make the packager work, simply remove the `babel` section in `package.json`. (You can do this by simply appending a underscore to the babel key).