react-native-pdf 6.3.0 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -69
- package/android/.gradle/5.6.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/5.6.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/5.6.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build.gradle +3 -3
- package/android/src/main/java/org/wonday/pdf/PdfView.java +21 -2
- package/ios/RCTPdf/PdfManager.m +11 -1
- package/ios/RCTPdf/RCTPdfView.h +2 -0
- package/ios/RCTPdf/RCTPdfView.m +21 -5
- package/ios/RCTPdf/RCTPdfViewManager.m +1 -1
- package/ios/RCTPdf.xcodeproj/xcuserdata/wonday.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/package.json +18 -6
- package/windows/RCTPdf/RCTPdfControl.xaml +0 -1
- package/windows/README.md +4 -8
- package/.babelrc +0 -3
- package/.github/workflows/windows-ci.yml +0 -39
- package/DoubleTapView.js +0 -126
- package/PdfManager.js +0 -31
- package/PdfPageView.js +0 -54
- package/PdfView.js +0 -416
- package/PdfViewFlatList.js +0 -31
- package/PinchZoomView.js +0 -126
- package/example/.eslintrc.js +0 -4
- package/example/PDFExample.js +0 -180
- package/example/__windows_tests__/TestPDF.js +0 -43
- package/example/android/app/BUCK +0 -55
- package/example/android/app/build.gradle +0 -210
- package/example/android/app/build_defs.bzl +0 -19
- package/example/android/app/proguard-rules.pro +0 -10
- package/example/android/app/src/debug/AndroidManifest.xml +0 -8
- package/example/android/app/src/main/AndroidManifest.xml +0 -26
- package/example/android/app/src/main/assets/test.pdf +0 -0
- package/example/android/app/src/main/java/com/pdfexample/MainActivity.java +0 -15
- package/example/android/app/src/main/java/com/pdfexample/MainApplication.java +0 -49
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/values/strings.xml +0 -3
- package/example/android/app/src/main/res/values/styles.xml +0 -9
- package/example/android/build.gradle +0 -38
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/example/android/gradle.properties +0 -21
- package/example/android/gradlew +0 -188
- package/example/android/gradlew.bat +0 -100
- package/example/android/settings.gradle +0 -3
- package/example/app.json +0 -4
- package/example/babel.config.js +0 -3
- package/example/index.js +0 -9
- package/example/ios/PDFExample/AppDelegate.h +0 -15
- package/example/ios/PDFExample/AppDelegate.m +0 -42
- package/example/ios/PDFExample/Base.lproj/LaunchScreen.xib +0 -42
- package/example/ios/PDFExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- package/example/ios/PDFExample/Images.xcassets/Contents.json +0 -6
- package/example/ios/PDFExample/Info.plist +0 -57
- package/example/ios/PDFExample/main.m +0 -16
- package/example/ios/PDFExample-tvOS/Info.plist +0 -53
- package/example/ios/PDFExample-tvOSTests/Info.plist +0 -24
- package/example/ios/PDFExample.xcodeproj/project.pbxproj +0 -923
- package/example/ios/PDFExample.xcodeproj/xcshareddata/xcschemes/PDFExample-tvOS.xcscheme +0 -129
- package/example/ios/PDFExample.xcodeproj/xcshareddata/xcschemes/PDFExample.xcscheme +0 -129
- package/example/ios/PDFExample.xcworkspace/contents.xcworkspacedata +0 -10
- package/example/ios/PDFExampleTests/Info.plist +0 -24
- package/example/ios/PDFExampleTests/PDFExampleTests.m +0 -68
- package/example/ios/Podfile +0 -47
- package/example/ios/Podfile.lock +0 -205
- package/example/jest-windows/driver.setup.js +0 -12
- package/example/jest-windows/jest.setup.js +0 -1
- package/example/jest.windows.config.js +0 -4
- package/example/metro.config.js +0 -29
- package/example/package.json +0 -48
- package/example/test.pdf +0 -0
- package/example/windows/PDFExample/App.cpp +0 -80
- package/example/windows/PDFExample/App.h +0 -20
- package/example/windows/PDFExample/App.idl +0 -3
- package/example/windows/PDFExample/App.xaml +0 -10
- package/example/windows/PDFExample/Assets/LockScreenLogo.scale-200.png +0 -0
- package/example/windows/PDFExample/Assets/SplashScreen.scale-200.png +0 -0
- package/example/windows/PDFExample/Assets/Square150x150Logo.scale-200.png +0 -0
- package/example/windows/PDFExample/Assets/Square44x44Logo.scale-200.png +0 -0
- package/example/windows/PDFExample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png +0 -0
- package/example/windows/PDFExample/Assets/StoreLogo.png +0 -0
- package/example/windows/PDFExample/Assets/Wide310x150Logo.scale-200.png +0 -0
- package/example/windows/PDFExample/AutolinkedNativeModules.g.cpp +0 -18
- package/example/windows/PDFExample/AutolinkedNativeModules.g.h +0 -10
- package/example/windows/PDFExample/AutolinkedNativeModules.g.props +0 -6
- package/example/windows/PDFExample/AutolinkedNativeModules.g.targets +0 -10
- package/example/windows/PDFExample/MainPage.cpp +0 -24
- package/example/windows/PDFExample/MainPage.h +0 -21
- package/example/windows/PDFExample/MainPage.idl +0 -8
- package/example/windows/PDFExample/MainPage.xaml +0 -16
- package/example/windows/PDFExample/PDFExample.vcxproj +0 -205
- package/example/windows/PDFExample/PDFExample.vcxproj.filters +0 -64
- package/example/windows/PDFExample/PDFExample_TemporaryKey.pfx +0 -0
- package/example/windows/PDFExample/Package.appxmanifest +0 -52
- package/example/windows/PDFExample/PropertySheet.props +0 -16
- package/example/windows/PDFExample/ReactPackageProvider.cpp +0 -18
- package/example/windows/PDFExample/ReactPackageProvider.h +0 -15
- package/example/windows/PDFExample/packages.config +0 -5
- package/example/windows/PDFExample/pch.cpp +0 -1
- package/example/windows/PDFExample/pch.h +0 -29
- package/example/windows/PDFExample.sln +0 -264
- package/index.d.ts +0 -51
- package/index.js +0 -493
- package/index.js.flow +0 -63
- package/issue_template.md +0 -13
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "0940"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "NO"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "2D2A28121D9B038B00D4039D"
|
|
18
|
-
BuildableName = "libReact.a"
|
|
19
|
-
BlueprintName = "React-tvOS"
|
|
20
|
-
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
<BuildActionEntry
|
|
24
|
-
buildForTesting = "YES"
|
|
25
|
-
buildForRunning = "YES"
|
|
26
|
-
buildForProfiling = "YES"
|
|
27
|
-
buildForArchiving = "YES"
|
|
28
|
-
buildForAnalyzing = "YES">
|
|
29
|
-
<BuildableReference
|
|
30
|
-
BuildableIdentifier = "primary"
|
|
31
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
32
|
-
BuildableName = "PDFExample-tvOS.app"
|
|
33
|
-
BlueprintName = "PDFExample-tvOS"
|
|
34
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
35
|
-
</BuildableReference>
|
|
36
|
-
</BuildActionEntry>
|
|
37
|
-
<BuildActionEntry
|
|
38
|
-
buildForTesting = "YES"
|
|
39
|
-
buildForRunning = "YES"
|
|
40
|
-
buildForProfiling = "NO"
|
|
41
|
-
buildForArchiving = "NO"
|
|
42
|
-
buildForAnalyzing = "YES">
|
|
43
|
-
<BuildableReference
|
|
44
|
-
BuildableIdentifier = "primary"
|
|
45
|
-
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
|
46
|
-
BuildableName = "PDFExample-tvOSTests.xctest"
|
|
47
|
-
BlueprintName = "PDFExample-tvOSTests"
|
|
48
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
49
|
-
</BuildableReference>
|
|
50
|
-
</BuildActionEntry>
|
|
51
|
-
</BuildActionEntries>
|
|
52
|
-
</BuildAction>
|
|
53
|
-
<TestAction
|
|
54
|
-
buildConfiguration = "Debug"
|
|
55
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
-
<Testables>
|
|
59
|
-
<TestableReference
|
|
60
|
-
skipped = "NO">
|
|
61
|
-
<BuildableReference
|
|
62
|
-
BuildableIdentifier = "primary"
|
|
63
|
-
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
|
64
|
-
BuildableName = "PDFExample-tvOSTests.xctest"
|
|
65
|
-
BlueprintName = "PDFExample-tvOSTests"
|
|
66
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
67
|
-
</BuildableReference>
|
|
68
|
-
</TestableReference>
|
|
69
|
-
</Testables>
|
|
70
|
-
<MacroExpansion>
|
|
71
|
-
<BuildableReference
|
|
72
|
-
BuildableIdentifier = "primary"
|
|
73
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
74
|
-
BuildableName = "PDFExample-tvOS.app"
|
|
75
|
-
BlueprintName = "PDFExample-tvOS"
|
|
76
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
77
|
-
</BuildableReference>
|
|
78
|
-
</MacroExpansion>
|
|
79
|
-
<AdditionalOptions>
|
|
80
|
-
</AdditionalOptions>
|
|
81
|
-
</TestAction>
|
|
82
|
-
<LaunchAction
|
|
83
|
-
buildConfiguration = "Debug"
|
|
84
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
-
launchStyle = "0"
|
|
87
|
-
useCustomWorkingDirectory = "NO"
|
|
88
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
-
debugDocumentVersioning = "YES"
|
|
90
|
-
debugServiceExtension = "internal"
|
|
91
|
-
allowLocationSimulation = "YES">
|
|
92
|
-
<BuildableProductRunnable
|
|
93
|
-
runnableDebuggingMode = "0">
|
|
94
|
-
<BuildableReference
|
|
95
|
-
BuildableIdentifier = "primary"
|
|
96
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
97
|
-
BuildableName = "PDFExample-tvOS.app"
|
|
98
|
-
BlueprintName = "PDFExample-tvOS"
|
|
99
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
100
|
-
</BuildableReference>
|
|
101
|
-
</BuildableProductRunnable>
|
|
102
|
-
<AdditionalOptions>
|
|
103
|
-
</AdditionalOptions>
|
|
104
|
-
</LaunchAction>
|
|
105
|
-
<ProfileAction
|
|
106
|
-
buildConfiguration = "Release"
|
|
107
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
-
savedToolIdentifier = ""
|
|
109
|
-
useCustomWorkingDirectory = "NO"
|
|
110
|
-
debugDocumentVersioning = "YES">
|
|
111
|
-
<BuildableProductRunnable
|
|
112
|
-
runnableDebuggingMode = "0">
|
|
113
|
-
<BuildableReference
|
|
114
|
-
BuildableIdentifier = "primary"
|
|
115
|
-
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
|
116
|
-
BuildableName = "PDFExample-tvOS.app"
|
|
117
|
-
BlueprintName = "PDFExample-tvOS"
|
|
118
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
119
|
-
</BuildableReference>
|
|
120
|
-
</BuildableProductRunnable>
|
|
121
|
-
</ProfileAction>
|
|
122
|
-
<AnalyzeAction
|
|
123
|
-
buildConfiguration = "Debug">
|
|
124
|
-
</AnalyzeAction>
|
|
125
|
-
<ArchiveAction
|
|
126
|
-
buildConfiguration = "Release"
|
|
127
|
-
revealArchiveInOrganizer = "YES">
|
|
128
|
-
</ArchiveAction>
|
|
129
|
-
</Scheme>
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "0940"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "NO"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "83CBBA2D1A601D0E00E9B192"
|
|
18
|
-
BuildableName = "libReact.a"
|
|
19
|
-
BlueprintName = "React"
|
|
20
|
-
ReferencedContainer = "container:../node_modules/react-native/React/React.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
<BuildActionEntry
|
|
24
|
-
buildForTesting = "YES"
|
|
25
|
-
buildForRunning = "YES"
|
|
26
|
-
buildForProfiling = "YES"
|
|
27
|
-
buildForArchiving = "YES"
|
|
28
|
-
buildForAnalyzing = "YES">
|
|
29
|
-
<BuildableReference
|
|
30
|
-
BuildableIdentifier = "primary"
|
|
31
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
32
|
-
BuildableName = "PDFExample.app"
|
|
33
|
-
BlueprintName = "PDFExample"
|
|
34
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
35
|
-
</BuildableReference>
|
|
36
|
-
</BuildActionEntry>
|
|
37
|
-
<BuildActionEntry
|
|
38
|
-
buildForTesting = "YES"
|
|
39
|
-
buildForRunning = "YES"
|
|
40
|
-
buildForProfiling = "NO"
|
|
41
|
-
buildForArchiving = "NO"
|
|
42
|
-
buildForAnalyzing = "YES">
|
|
43
|
-
<BuildableReference
|
|
44
|
-
BuildableIdentifier = "primary"
|
|
45
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
46
|
-
BuildableName = "PDFExampleTests.xctest"
|
|
47
|
-
BlueprintName = "PDFExampleTests"
|
|
48
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
49
|
-
</BuildableReference>
|
|
50
|
-
</BuildActionEntry>
|
|
51
|
-
</BuildActionEntries>
|
|
52
|
-
</BuildAction>
|
|
53
|
-
<TestAction
|
|
54
|
-
buildConfiguration = "Debug"
|
|
55
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
56
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
57
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
58
|
-
<Testables>
|
|
59
|
-
<TestableReference
|
|
60
|
-
skipped = "NO">
|
|
61
|
-
<BuildableReference
|
|
62
|
-
BuildableIdentifier = "primary"
|
|
63
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
64
|
-
BuildableName = "PDFExampleTests.xctest"
|
|
65
|
-
BlueprintName = "PDFExampleTests"
|
|
66
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
67
|
-
</BuildableReference>
|
|
68
|
-
</TestableReference>
|
|
69
|
-
</Testables>
|
|
70
|
-
<MacroExpansion>
|
|
71
|
-
<BuildableReference
|
|
72
|
-
BuildableIdentifier = "primary"
|
|
73
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
74
|
-
BuildableName = "PDFExample.app"
|
|
75
|
-
BlueprintName = "PDFExample"
|
|
76
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
77
|
-
</BuildableReference>
|
|
78
|
-
</MacroExpansion>
|
|
79
|
-
<AdditionalOptions>
|
|
80
|
-
</AdditionalOptions>
|
|
81
|
-
</TestAction>
|
|
82
|
-
<LaunchAction
|
|
83
|
-
buildConfiguration = "Debug"
|
|
84
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
85
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
86
|
-
launchStyle = "0"
|
|
87
|
-
useCustomWorkingDirectory = "NO"
|
|
88
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
89
|
-
debugDocumentVersioning = "YES"
|
|
90
|
-
debugServiceExtension = "internal"
|
|
91
|
-
allowLocationSimulation = "YES">
|
|
92
|
-
<BuildableProductRunnable
|
|
93
|
-
runnableDebuggingMode = "0">
|
|
94
|
-
<BuildableReference
|
|
95
|
-
BuildableIdentifier = "primary"
|
|
96
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
97
|
-
BuildableName = "PDFExample.app"
|
|
98
|
-
BlueprintName = "PDFExample"
|
|
99
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
100
|
-
</BuildableReference>
|
|
101
|
-
</BuildableProductRunnable>
|
|
102
|
-
<AdditionalOptions>
|
|
103
|
-
</AdditionalOptions>
|
|
104
|
-
</LaunchAction>
|
|
105
|
-
<ProfileAction
|
|
106
|
-
buildConfiguration = "Release"
|
|
107
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
108
|
-
savedToolIdentifier = ""
|
|
109
|
-
useCustomWorkingDirectory = "NO"
|
|
110
|
-
debugDocumentVersioning = "YES">
|
|
111
|
-
<BuildableProductRunnable
|
|
112
|
-
runnableDebuggingMode = "0">
|
|
113
|
-
<BuildableReference
|
|
114
|
-
BuildableIdentifier = "primary"
|
|
115
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
116
|
-
BuildableName = "PDFExample.app"
|
|
117
|
-
BlueprintName = "PDFExample"
|
|
118
|
-
ReferencedContainer = "container:PDFExample.xcodeproj">
|
|
119
|
-
</BuildableReference>
|
|
120
|
-
</BuildableProductRunnable>
|
|
121
|
-
</ProfileAction>
|
|
122
|
-
<AnalyzeAction
|
|
123
|
-
buildConfiguration = "Debug">
|
|
124
|
-
</AnalyzeAction>
|
|
125
|
-
<ArchiveAction
|
|
126
|
-
buildConfiguration = "Release"
|
|
127
|
-
revealArchiveInOrganizer = "YES">
|
|
128
|
-
</ArchiveAction>
|
|
129
|
-
</Scheme>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
-
<string>en</string>
|
|
7
|
-
<key>CFBundleExecutable</key>
|
|
8
|
-
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
-
<key>CFBundleIdentifier</key>
|
|
10
|
-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
11
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
-
<string>6.0</string>
|
|
13
|
-
<key>CFBundleName</key>
|
|
14
|
-
<string>$(PRODUCT_NAME)</string>
|
|
15
|
-
<key>CFBundlePackageType</key>
|
|
16
|
-
<string>BNDL</string>
|
|
17
|
-
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>1.0</string>
|
|
19
|
-
<key>CFBundleSignature</key>
|
|
20
|
-
<string>????</string>
|
|
21
|
-
<key>CFBundleVersion</key>
|
|
22
|
-
<string>1</string>
|
|
23
|
-
</dict>
|
|
24
|
-
</plist>
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#import <UIKit/UIKit.h>
|
|
9
|
-
#import <XCTest/XCTest.h>
|
|
10
|
-
|
|
11
|
-
#import <React/RCTLog.h>
|
|
12
|
-
#import <React/RCTRootView.h>
|
|
13
|
-
|
|
14
|
-
#define TIMEOUT_SECONDS 600
|
|
15
|
-
#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"
|
|
16
|
-
|
|
17
|
-
@interface PDFExampleTests : XCTestCase
|
|
18
|
-
|
|
19
|
-
@end
|
|
20
|
-
|
|
21
|
-
@implementation PDFExampleTests
|
|
22
|
-
|
|
23
|
-
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
|
24
|
-
{
|
|
25
|
-
if (test(view)) {
|
|
26
|
-
return YES;
|
|
27
|
-
}
|
|
28
|
-
for (UIView *subview in [view subviews]) {
|
|
29
|
-
if ([self findSubviewInView:subview matching:test]) {
|
|
30
|
-
return YES;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return NO;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
- (void)testRendersWelcomeScreen
|
|
37
|
-
{
|
|
38
|
-
UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
|
|
39
|
-
NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
|
|
40
|
-
BOOL foundElement = NO;
|
|
41
|
-
|
|
42
|
-
__block NSString *redboxError = nil;
|
|
43
|
-
RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
|
44
|
-
if (level >= RCTLogLevelError) {
|
|
45
|
-
redboxError = message;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
|
50
|
-
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
51
|
-
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
52
|
-
|
|
53
|
-
foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
|
|
54
|
-
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
|
55
|
-
return YES;
|
|
56
|
-
}
|
|
57
|
-
return NO;
|
|
58
|
-
}];
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
RCTSetLogFunction(RCTDefaultLogFunction);
|
|
62
|
-
|
|
63
|
-
XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
|
|
64
|
-
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
@end
|
package/example/ios/Podfile
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
platform :ios, '9.0'
|
|
2
|
-
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
|
-
|
|
4
|
-
target 'PDFExample' do
|
|
5
|
-
# Pods for PDFExample
|
|
6
|
-
pod 'React', :path => '../node_modules/react-native/'
|
|
7
|
-
pod 'React-Core', :path => '../node_modules/react-native/React'
|
|
8
|
-
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
|
|
9
|
-
pod 'React-fishhook', :path => '../node_modules/react-native/Libraries/fishhook'
|
|
10
|
-
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
|
|
11
|
-
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
|
|
12
|
-
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
|
|
13
|
-
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
|
|
14
|
-
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
|
|
15
|
-
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
|
|
16
|
-
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
|
|
17
|
-
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
|
|
18
|
-
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
|
|
19
|
-
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
|
|
20
|
-
|
|
21
|
-
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
|
|
22
|
-
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
|
|
23
|
-
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
|
|
24
|
-
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
|
|
25
|
-
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
|
|
26
|
-
|
|
27
|
-
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
|
28
|
-
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
|
29
|
-
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
|
30
|
-
|
|
31
|
-
target 'PDFExampleTests' do
|
|
32
|
-
inherit! :search_paths
|
|
33
|
-
# Pods for testing
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
use_native_modules!
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
target 'PDFExample-tvOS' do
|
|
40
|
-
# Pods for PDFExample-tvOS
|
|
41
|
-
|
|
42
|
-
target 'PDFExample-tvOSTests' do
|
|
43
|
-
inherit! :search_paths
|
|
44
|
-
# Pods for testing
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
end
|
package/example/ios/Podfile.lock
DELETED
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
PODS:
|
|
2
|
-
- boost-for-react-native (1.63.0)
|
|
3
|
-
- DoubleConversion (1.1.6)
|
|
4
|
-
- Folly (2018.10.22.00):
|
|
5
|
-
- boost-for-react-native
|
|
6
|
-
- DoubleConversion
|
|
7
|
-
- Folly/Default (= 2018.10.22.00)
|
|
8
|
-
- glog
|
|
9
|
-
- Folly/Default (2018.10.22.00):
|
|
10
|
-
- boost-for-react-native
|
|
11
|
-
- DoubleConversion
|
|
12
|
-
- glog
|
|
13
|
-
- glog (0.3.5)
|
|
14
|
-
- React (0.60.4):
|
|
15
|
-
- React-Core (= 0.60.4)
|
|
16
|
-
- React-DevSupport (= 0.60.4)
|
|
17
|
-
- React-RCTActionSheet (= 0.60.4)
|
|
18
|
-
- React-RCTAnimation (= 0.60.4)
|
|
19
|
-
- React-RCTBlob (= 0.60.4)
|
|
20
|
-
- React-RCTImage (= 0.60.4)
|
|
21
|
-
- React-RCTLinking (= 0.60.4)
|
|
22
|
-
- React-RCTNetwork (= 0.60.4)
|
|
23
|
-
- React-RCTSettings (= 0.60.4)
|
|
24
|
-
- React-RCTText (= 0.60.4)
|
|
25
|
-
- React-RCTVibration (= 0.60.4)
|
|
26
|
-
- React-RCTWebSocket (= 0.60.4)
|
|
27
|
-
- React-Core (0.60.4):
|
|
28
|
-
- Folly (= 2018.10.22.00)
|
|
29
|
-
- React-cxxreact (= 0.60.4)
|
|
30
|
-
- React-jsiexecutor (= 0.60.4)
|
|
31
|
-
- yoga (= 0.60.4.React)
|
|
32
|
-
- React-cxxreact (0.60.4):
|
|
33
|
-
- boost-for-react-native (= 1.63.0)
|
|
34
|
-
- DoubleConversion
|
|
35
|
-
- Folly (= 2018.10.22.00)
|
|
36
|
-
- glog
|
|
37
|
-
- React-jsinspector (= 0.60.4)
|
|
38
|
-
- React-DevSupport (0.60.4):
|
|
39
|
-
- React-Core (= 0.60.4)
|
|
40
|
-
- React-RCTWebSocket (= 0.60.4)
|
|
41
|
-
- React-fishhook (0.60.4)
|
|
42
|
-
- React-jsi (0.60.4):
|
|
43
|
-
- boost-for-react-native (= 1.63.0)
|
|
44
|
-
- DoubleConversion
|
|
45
|
-
- Folly (= 2018.10.22.00)
|
|
46
|
-
- glog
|
|
47
|
-
- React-jsi/Default (= 0.60.4)
|
|
48
|
-
- React-jsi/Default (0.60.4):
|
|
49
|
-
- boost-for-react-native (= 1.63.0)
|
|
50
|
-
- DoubleConversion
|
|
51
|
-
- Folly (= 2018.10.22.00)
|
|
52
|
-
- glog
|
|
53
|
-
- React-jsiexecutor (0.60.4):
|
|
54
|
-
- DoubleConversion
|
|
55
|
-
- Folly (= 2018.10.22.00)
|
|
56
|
-
- glog
|
|
57
|
-
- React-cxxreact (= 0.60.4)
|
|
58
|
-
- React-jsi (= 0.60.4)
|
|
59
|
-
- React-jsinspector (0.60.4)
|
|
60
|
-
- react-native-orientation-locker (1.1.6):
|
|
61
|
-
- React
|
|
62
|
-
- react-native-pdf (5.1.3):
|
|
63
|
-
- React
|
|
64
|
-
- React-RCTActionSheet (0.60.4):
|
|
65
|
-
- React-Core (= 0.60.4)
|
|
66
|
-
- React-RCTAnimation (0.60.4):
|
|
67
|
-
- React-Core (= 0.60.4)
|
|
68
|
-
- React-RCTBlob (0.60.4):
|
|
69
|
-
- React-Core (= 0.60.4)
|
|
70
|
-
- React-RCTNetwork (= 0.60.4)
|
|
71
|
-
- React-RCTWebSocket (= 0.60.4)
|
|
72
|
-
- React-RCTImage (0.60.4):
|
|
73
|
-
- React-Core (= 0.60.4)
|
|
74
|
-
- React-RCTNetwork (= 0.60.4)
|
|
75
|
-
- React-RCTLinking (0.60.4):
|
|
76
|
-
- React-Core (= 0.60.4)
|
|
77
|
-
- React-RCTNetwork (0.60.4):
|
|
78
|
-
- React-Core (= 0.60.4)
|
|
79
|
-
- React-RCTSettings (0.60.4):
|
|
80
|
-
- React-Core (= 0.60.4)
|
|
81
|
-
- React-RCTText (0.60.4):
|
|
82
|
-
- React-Core (= 0.60.4)
|
|
83
|
-
- React-RCTVibration (0.60.4):
|
|
84
|
-
- React-Core (= 0.60.4)
|
|
85
|
-
- React-RCTWebSocket (0.60.4):
|
|
86
|
-
- React-Core (= 0.60.4)
|
|
87
|
-
- React-fishhook (= 0.60.4)
|
|
88
|
-
- rn-fetch-blob (0.10.16):
|
|
89
|
-
- React-Core
|
|
90
|
-
- yoga (0.60.4.React)
|
|
91
|
-
|
|
92
|
-
DEPENDENCIES:
|
|
93
|
-
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
|
|
94
|
-
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
|
|
95
|
-
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
|
|
96
|
-
- React (from `../node_modules/react-native/`)
|
|
97
|
-
- React-Core (from `../node_modules/react-native/React`)
|
|
98
|
-
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
|
|
99
|
-
- React-DevSupport (from `../node_modules/react-native/React`)
|
|
100
|
-
- React-fishhook (from `../node_modules/react-native/Libraries/fishhook`)
|
|
101
|
-
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
|
|
102
|
-
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
|
|
103
|
-
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
|
|
104
|
-
- react-native-orientation-locker (from `../node_modules/react-native-orientation-locker`)
|
|
105
|
-
- react-native-pdf (from `../node_modules/react-native-pdf`)
|
|
106
|
-
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
|
|
107
|
-
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
|
|
108
|
-
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
|
|
109
|
-
- React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
|
|
110
|
-
- React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
|
|
111
|
-
- React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
|
|
112
|
-
- React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
|
|
113
|
-
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
|
|
114
|
-
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
|
|
115
|
-
- React-RCTWebSocket (from `../node_modules/react-native/Libraries/WebSocket`)
|
|
116
|
-
- rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
|
|
117
|
-
- yoga (from `../node_modules/react-native/ReactCommon/yoga`)
|
|
118
|
-
|
|
119
|
-
SPEC REPOS:
|
|
120
|
-
https://github.com/cocoapods/specs.git:
|
|
121
|
-
- boost-for-react-native
|
|
122
|
-
|
|
123
|
-
EXTERNAL SOURCES:
|
|
124
|
-
DoubleConversion:
|
|
125
|
-
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
|
|
126
|
-
Folly:
|
|
127
|
-
:podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
|
|
128
|
-
glog:
|
|
129
|
-
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
|
|
130
|
-
React:
|
|
131
|
-
:path: "../node_modules/react-native/"
|
|
132
|
-
React-Core:
|
|
133
|
-
:path: "../node_modules/react-native/React"
|
|
134
|
-
React-cxxreact:
|
|
135
|
-
:path: "../node_modules/react-native/ReactCommon/cxxreact"
|
|
136
|
-
React-DevSupport:
|
|
137
|
-
:path: "../node_modules/react-native/React"
|
|
138
|
-
React-fishhook:
|
|
139
|
-
:path: "../node_modules/react-native/Libraries/fishhook"
|
|
140
|
-
React-jsi:
|
|
141
|
-
:path: "../node_modules/react-native/ReactCommon/jsi"
|
|
142
|
-
React-jsiexecutor:
|
|
143
|
-
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
|
|
144
|
-
React-jsinspector:
|
|
145
|
-
:path: "../node_modules/react-native/ReactCommon/jsinspector"
|
|
146
|
-
react-native-orientation-locker:
|
|
147
|
-
:path: "../node_modules/react-native-orientation-locker"
|
|
148
|
-
react-native-pdf:
|
|
149
|
-
:path: "../node_modules/react-native-pdf"
|
|
150
|
-
React-RCTActionSheet:
|
|
151
|
-
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
|
|
152
|
-
React-RCTAnimation:
|
|
153
|
-
:path: "../node_modules/react-native/Libraries/NativeAnimation"
|
|
154
|
-
React-RCTBlob:
|
|
155
|
-
:path: "../node_modules/react-native/Libraries/Blob"
|
|
156
|
-
React-RCTImage:
|
|
157
|
-
:path: "../node_modules/react-native/Libraries/Image"
|
|
158
|
-
React-RCTLinking:
|
|
159
|
-
:path: "../node_modules/react-native/Libraries/LinkingIOS"
|
|
160
|
-
React-RCTNetwork:
|
|
161
|
-
:path: "../node_modules/react-native/Libraries/Network"
|
|
162
|
-
React-RCTSettings:
|
|
163
|
-
:path: "../node_modules/react-native/Libraries/Settings"
|
|
164
|
-
React-RCTText:
|
|
165
|
-
:path: "../node_modules/react-native/Libraries/Text"
|
|
166
|
-
React-RCTVibration:
|
|
167
|
-
:path: "../node_modules/react-native/Libraries/Vibration"
|
|
168
|
-
React-RCTWebSocket:
|
|
169
|
-
:path: "../node_modules/react-native/Libraries/WebSocket"
|
|
170
|
-
rn-fetch-blob:
|
|
171
|
-
:path: "../node_modules/rn-fetch-blob"
|
|
172
|
-
yoga:
|
|
173
|
-
:path: "../node_modules/react-native/ReactCommon/yoga"
|
|
174
|
-
|
|
175
|
-
SPEC CHECKSUMS:
|
|
176
|
-
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
|
|
177
|
-
DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
|
|
178
|
-
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
|
|
179
|
-
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
|
|
180
|
-
React: ff7ee2ae5ee1c1d9ae2183b4111045b25294bb01
|
|
181
|
-
React-Core: 8e0ea421cae5609d2562850f98421b15030476fa
|
|
182
|
-
React-cxxreact: 326880209990151a7182a813311054e9772ba510
|
|
183
|
-
React-DevSupport: e9f10e6721e78e87622fc985db695c0c0168db8a
|
|
184
|
-
React-fishhook: 1f0e5b08449403fa75c3fb3881a0beefbada14af
|
|
185
|
-
React-jsi: 21d3153b1153fbf6510a92b6b11e33e725cb7432
|
|
186
|
-
React-jsiexecutor: 7549641e48bafae7bfee3f3ea19bf4901639c5de
|
|
187
|
-
React-jsinspector: 73f24a02fa684ed6a2b828ba116874a2191ded88
|
|
188
|
-
react-native-orientation-locker: 23918c400376a7043e752c639c122fcf6bce8f1c
|
|
189
|
-
react-native-pdf: 4ac64df95050555cce80d69c7e798322e1be4e6b
|
|
190
|
-
React-RCTActionSheet: 9f71d7ae3e8fb10e08d162cbf14c621349dbfab3
|
|
191
|
-
React-RCTAnimation: 981d8c95b0e30918a9832ccac32af83562a27fae
|
|
192
|
-
React-RCTBlob: 21e73d1020a302a75fed30dbaee9f15287b80baa
|
|
193
|
-
React-RCTImage: c0bc6ac0926517b6fb7e4c279b04843113e99d1d
|
|
194
|
-
React-RCTLinking: 1af3f3c59114bed3deec0107c62e7efad0932ee5
|
|
195
|
-
React-RCTNetwork: 35df9de46e19cda5c56380be1a7759b9b8cb2fcd
|
|
196
|
-
React-RCTSettings: f580504c2cd1f44e25add10fb9ed3954f67f8ac5
|
|
197
|
-
React-RCTText: e0f224898b13af9aa036ea7cb3d438daa68c1044
|
|
198
|
-
React-RCTVibration: 0bea40cd51bd089bd591a8f74c86e91fdf2666c5
|
|
199
|
-
React-RCTWebSocket: 163873f4cdd5f1058a9483443404fc3801581cb6
|
|
200
|
-
rn-fetch-blob: 651b8d076b43d0d7aa294a3d9ec16c00aab8bef9
|
|
201
|
-
yoga: c2c050f6ae6e222534760cc82f559b89214b67e2
|
|
202
|
-
|
|
203
|
-
PODFILE CHECKSUM: fa2ed14dc2ca3d3057253b0ab7351f9c47b7c163
|
|
204
|
-
|
|
205
|
-
COCOAPODS: 1.7.3
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { windowsAppDriverCapabilities } from 'selenium-appium'
|
|
2
|
-
|
|
3
|
-
switch (platform) {
|
|
4
|
-
case "windows":
|
|
5
|
-
const webViewWindowsAppId = 'PDFExample_nsp2ha5jnb6xr!App';
|
|
6
|
-
module.exports = {
|
|
7
|
-
capabilites: windowsAppDriverCapabilities(webViewWindowsAppId)
|
|
8
|
-
}
|
|
9
|
-
break;
|
|
10
|
-
default:
|
|
11
|
-
throw "Unknown platform: " + platform;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
platform = "windows"
|
package/example/metro.config.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Metro configuration for React Native
|
|
3
|
-
* https://github.com/facebook/react-native
|
|
4
|
-
*
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
const path = require('path');
|
|
8
|
-
const blacklist = require('metro-config/src/defaults/blacklist');
|
|
9
|
-
|
|
10
|
-
module.exports = {
|
|
11
|
-
resolver: {
|
|
12
|
-
blacklistRE: blacklist([
|
|
13
|
-
// This stops "react-native run-windows" from causing the metro server to crash if its already running
|
|
14
|
-
new RegExp(
|
|
15
|
-
`${path.resolve(__dirname, 'windows').replace(/[/\\]/g, '/')}.*`,
|
|
16
|
-
),
|
|
17
|
-
// This prevents "react-native run-windows" from hitting: EBUSY: resource busy or locked, open msbuild.ProjectImports.zip
|
|
18
|
-
/.*\.ProjectImports\.zip/,
|
|
19
|
-
]),
|
|
20
|
-
},
|
|
21
|
-
transformer: {
|
|
22
|
-
getTransformOptions: async () => ({
|
|
23
|
-
transform: {
|
|
24
|
-
experimentalImportSupport: false,
|
|
25
|
-
inlineRequires: false,
|
|
26
|
-
},
|
|
27
|
-
}),
|
|
28
|
-
},
|
|
29
|
-
};
|