From c1b023eebba9e1ed8568eca3837c38e43fca43b5 Mon Sep 17 00:00:00 2001 From: feruz Date: Tue, 10 Aug 2021 21:11:34 +0300 Subject: [PATCH] shim import, postinstall --- package.json | 2 +- src/index.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fcd063fe7..16411f35a 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "bump-patch": "npm version patch --no-git-tag-version", "bump-minor": "npm version minor --no-git-tag-version", "bump-major": "npm version major --no-git-tag-version", - "postinstall": "cd ios && pod install" + "postinstall": "npx rn-nodeify --install --hack --yarn && cd ios && pod install" }, "dependencies": { "@babel/runtime": "^7.5.5", diff --git a/src/index.js b/src/index.js index af587e838..b4b7c6b69 100755 --- a/src/index.js +++ b/src/index.js @@ -1,3 +1,4 @@ +import '../shim'; import React from 'react'; import 'react-native-gesture-handler'; import { Provider, connect } from 'react-redux';