File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,8 @@ Library implements a general approach for using PaintCode generated files with R
1010
11112 . Place exported PaintCode files into projects root folders.
1212
13- 3 . Install the library from NPM
14-
15- ``` sh
16- $ yarn add react-native-tref-paint-code
17- ```
13+ 3 . Install the library from NPM, by following instructions on latest package:
14+ https://github.com/ReferenceArmada/react-native-tref-paint-code/packages/
1815
19164 . Install dependencies for iOS project
2017
@@ -23,8 +20,6 @@ $ cd ios
2320$ pod install
2421```
2522
26- > Do not forget to add ** use_frameworks!** on the top of the podfile.
27-
28235 . On native Android project, open ** MainApplication.java** file and add following to the file:
2924
3025``` java
@@ -62,7 +57,7 @@ import {TrefPaintCode,
6257 TrefPaintCodeType ,
6358 TrefPaintCodeResizingBehaviour ,
6459 TrefPaintCodeHelper }
65- from ' react-native-tref-paint-code' ;
60+ from ' @referencearmada/ react-native-tref-paint-code' ;
6661```
6762
68632 . Use ** TrefPaintCode** component in views.
Original file line number Diff line number Diff line change 99#import < Foundation/Foundation.h>
1010#import " DrawerEngine.h"
1111#import < objc/runtime.h>
12- #import " react_native_tref_paint_code/react_native_tref_paint_code -Swift.h"
12+ #import " TrefPaintCode -Swift.h"
1313
1414@implementation DrawerEngine
1515
Original file line number Diff line number Diff line change 259259 PRODUCT_NAME = "react_native_tref_paint_code-Swift.h";
260260 SKIP_INSTALL = YES;
261261 SWIFT_OBJC_BRIDGING_HEADER = "TrefPaintCode-Bridging-Header.h";
262+ SWIFT_OBJC_INTERFACE_HEADER_NAME = "TrefPaintCode-Swift.h";
262263 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
263264 SWIFT_VERSION = 5.0;
264265 };
281282 PRODUCT_NAME = "react_native_tref_paint_code-Swift.h";
282283 SKIP_INSTALL = YES;
283284 SWIFT_OBJC_BRIDGING_HEADER = "TrefPaintCode-Bridging-Header.h";
285+ SWIFT_OBJC_INTERFACE_HEADER_NAME = "TrefPaintCode-Swift.h";
284286 SWIFT_VERSION = 5.0;
285287 };
286288 name = Release;
You can’t perform that action at this time.
0 commit comments