forked from react-native-webview/react-native-webview
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-native.config.js
More file actions
39 lines (38 loc) · 1.07 KB
/
Copy pathreact-native.config.js
File metadata and controls
39 lines (38 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
'use strict';
module.exports = {
project: {
android: {
sourceDir: './example/android',
},
windows: {
sourceDir: './example/windows',
solutionFile: 'ReactNativeWebviewExample.sln',
project: {
projectFile: 'ReactNativeWebviewExample/ReactNativeWebviewExample.vcxproj',
},
},
},
dependency: {
platforms: {
android: {
componentDescriptors: ['RNCWebViewComponentDescriptor'],
cmakeListsPath: '../android/src/main/jni/CMakeLists.txt',
},
windows: {
sourceDir: 'windows',
solutionFile: 'ReactNativeWebView.sln',
projects: [
{
projectFile: 'ReactNativeWebView\\ReactNativeWebView.vcxproj',
projectName: 'ReactNativeWebView',
projectLang: 'cpp',
projectGuid: '{30CADFC7-80EF-4296-A405-47E4B97C0C71}',
directDependency: true,
cppHeaders: ['winrt/ReactNativeWebView.h'],
cppPackageProviders: ['ReactNativeWebView::ReactPackageProvider'],
},
],
},
},
},
};