From a763ccf7ac67055a31a0f54aa3cfcd5841db5c35 Mon Sep 17 00:00:00 2001 From: David Govea Date: Sun, 2 Jun 2019 16:49:40 -0700 Subject: [PATCH] add ios config for rn-version-number matching current indentation style --- .../config.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/plugins/ern_v0.14.0+/react-native-version-number_v0.3.4+/config.json b/plugins/ern_v0.14.0+/react-native-version-number_v0.3.4+/config.json index b5ae04b..5a79a3c 100644 --- a/plugins/ern_v0.14.0+/react-native-version-number_v0.3.4+/config.json +++ b/plugins/ern_v0.14.0+/react-native-version-number_v0.3.4+/config.json @@ -2,5 +2,24 @@ "android": { "root": "", "moduleName": "android" + }, + "ios": { + "copy": [{ + "source": "ios/*", + "dest": "{{{projectName}}}/Libraries/RNVersionNumber" + }], + "pbxproj": { + "addProject": [{ + "path": "RNVersionNumber/RNVersionNumber.xcodeproj", + "group": "Libraries", + "staticLibs": [{ + "name": "libRNVersionNumber.a", + "target": "RNVersionNumber" + }] + }], + "addHeaderSearchPath": [ + "\"$(SRCROOT)/{{{projectName}}}/Libraries/RNVersionNumber/**\"" + ] + } } }