File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,12 @@ Library implements a general approach for using PaintCode generated files with R
88
99 > Convert generated Java file to Kotlin file.
1010
11+ > Do not forget to use name "PaintCode" for exported classes.
12+
11132 . Place exported PaintCode files into projects root folders.
1214
13- 3 . Install the library from NPM
14-
15- ``` sh
16- $ yarn add react-native-tref-paint-code
17- ```
15+ 3 . Install the library from NPM, by following instructions on latest package:
16+ https://github.com/ReferenceArmada/react-native-tref-paint-code/packages/
1817
19184 . Install dependencies for iOS project
2019
@@ -23,8 +22,6 @@ $ cd ios
2322$ pod install
2423```
2524
26- > Do not forget to add ** use_frameworks!** on the top of the podfile.
27-
28255 . On native Android project, open ** MainApplication.java** file and add following to the file:
2926
3027``` java
@@ -62,7 +59,7 @@ import {TrefPaintCode,
6259 TrefPaintCodeType ,
6360 TrefPaintCodeResizingBehaviour ,
6461 TrefPaintCodeHelper }
65- from ' react-native-tref-paint-code' ;
62+ from ' @referencearmada/ react-native-tref-paint-code' ;
6663```
6764
68652 . 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