Skip to content

Commit cf4609b

Browse files
committed
fix(android): actually use custom shadow node
1 parent 422ef20 commit cf4609b

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

example/react-native.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const path = require('path');
22
const pkg = require('../package.json');
3-
const rncfg = require('../react-native.config.js');
43

54
module.exports = {
65
project: {
@@ -11,7 +10,6 @@ module.exports = {
1110
dependencies: {
1211
[pkg.name]: {
1312
root: path.join(__dirname, '..'),
14-
platforms: rncfg.dependencies.platforms,
1513
},
1614
},
1715
};

react-native.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
const path = require('path');
2-
31
module.exports = {
4-
dependencies: {
2+
dependency: {
53
platforms: {
64
android: {
75
componentDescriptors: ['PdfViewComponentDescriptor'],
8-
cmakeListsPath: path.join(__dirname, 'android/CMakeLists.txt'),
6+
cmakeListsPath: 'CMakeLists.txt',
97
},
108
},
119
},

0 commit comments

Comments
 (0)