react-native-pdf 6.3.0 → 6.4.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.
Files changed (107) hide show
  1. package/README.md +44 -70
  2. package/android/.gradle/5.6.1/fileChanges/last-build.bin +0 -0
  3. package/android/.gradle/5.6.1/fileHashes/fileHashes.lock +0 -0
  4. package/android/.gradle/5.6.1/gc.properties +0 -0
  5. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  6. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  7. package/android/.gradle/vcs-1/gc.properties +0 -0
  8. package/android/src/main/java/org/wonday/pdf/PdfView.java +21 -2
  9. package/index.d.ts +1 -2
  10. package/index.js +20 -46
  11. package/index.js.flow +2 -2
  12. package/ios/RCTPdf/RCTPdfView.h +2 -0
  13. package/ios/RCTPdf/RCTPdfView.m +17 -4
  14. package/ios/RCTPdf/RCTPdfViewManager.m +1 -1
  15. package/ios/RCTPdf.xcodeproj/xcuserdata/wonday.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  16. package/package.json +21 -6
  17. package/windows/README.md +4 -8
  18. package/.babelrc +0 -3
  19. package/.github/workflows/windows-ci.yml +0 -39
  20. package/example/.eslintrc.js +0 -4
  21. package/example/PDFExample.js +0 -180
  22. package/example/__windows_tests__/TestPDF.js +0 -43
  23. package/example/android/app/BUCK +0 -55
  24. package/example/android/app/build.gradle +0 -210
  25. package/example/android/app/build_defs.bzl +0 -19
  26. package/example/android/app/proguard-rules.pro +0 -10
  27. package/example/android/app/src/debug/AndroidManifest.xml +0 -8
  28. package/example/android/app/src/main/AndroidManifest.xml +0 -26
  29. package/example/android/app/src/main/assets/test.pdf +0 -0
  30. package/example/android/app/src/main/java/com/pdfexample/MainActivity.java +0 -15
  31. package/example/android/app/src/main/java/com/pdfexample/MainApplication.java +0 -49
  32. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  33. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  34. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  35. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  36. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  37. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  38. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  39. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  40. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  41. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  42. package/example/android/app/src/main/res/values/strings.xml +0 -3
  43. package/example/android/app/src/main/res/values/styles.xml +0 -9
  44. package/example/android/build.gradle +0 -38
  45. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  46. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  47. package/example/android/gradle.properties +0 -21
  48. package/example/android/gradlew +0 -188
  49. package/example/android/gradlew.bat +0 -100
  50. package/example/android/settings.gradle +0 -3
  51. package/example/app.json +0 -4
  52. package/example/babel.config.js +0 -3
  53. package/example/index.js +0 -9
  54. package/example/ios/PDFExample/AppDelegate.h +0 -15
  55. package/example/ios/PDFExample/AppDelegate.m +0 -42
  56. package/example/ios/PDFExample/Base.lproj/LaunchScreen.xib +0 -42
  57. package/example/ios/PDFExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  58. package/example/ios/PDFExample/Images.xcassets/Contents.json +0 -6
  59. package/example/ios/PDFExample/Info.plist +0 -57
  60. package/example/ios/PDFExample/main.m +0 -16
  61. package/example/ios/PDFExample-tvOS/Info.plist +0 -53
  62. package/example/ios/PDFExample-tvOSTests/Info.plist +0 -24
  63. package/example/ios/PDFExample.xcodeproj/project.pbxproj +0 -923
  64. package/example/ios/PDFExample.xcodeproj/xcshareddata/xcschemes/PDFExample-tvOS.xcscheme +0 -129
  65. package/example/ios/PDFExample.xcodeproj/xcshareddata/xcschemes/PDFExample.xcscheme +0 -129
  66. package/example/ios/PDFExample.xcworkspace/contents.xcworkspacedata +0 -10
  67. package/example/ios/PDFExampleTests/Info.plist +0 -24
  68. package/example/ios/PDFExampleTests/PDFExampleTests.m +0 -68
  69. package/example/ios/Podfile +0 -47
  70. package/example/ios/Podfile.lock +0 -205
  71. package/example/jest-windows/driver.setup.js +0 -12
  72. package/example/jest-windows/jest.setup.js +0 -1
  73. package/example/jest.windows.config.js +0 -4
  74. package/example/metro.config.js +0 -29
  75. package/example/package.json +0 -48
  76. package/example/test.pdf +0 -0
  77. package/example/windows/PDFExample/App.cpp +0 -80
  78. package/example/windows/PDFExample/App.h +0 -20
  79. package/example/windows/PDFExample/App.idl +0 -3
  80. package/example/windows/PDFExample/App.xaml +0 -10
  81. package/example/windows/PDFExample/Assets/LockScreenLogo.scale-200.png +0 -0
  82. package/example/windows/PDFExample/Assets/SplashScreen.scale-200.png +0 -0
  83. package/example/windows/PDFExample/Assets/Square150x150Logo.scale-200.png +0 -0
  84. package/example/windows/PDFExample/Assets/Square44x44Logo.scale-200.png +0 -0
  85. package/example/windows/PDFExample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png +0 -0
  86. package/example/windows/PDFExample/Assets/StoreLogo.png +0 -0
  87. package/example/windows/PDFExample/Assets/Wide310x150Logo.scale-200.png +0 -0
  88. package/example/windows/PDFExample/AutolinkedNativeModules.g.cpp +0 -18
  89. package/example/windows/PDFExample/AutolinkedNativeModules.g.h +0 -10
  90. package/example/windows/PDFExample/AutolinkedNativeModules.g.props +0 -6
  91. package/example/windows/PDFExample/AutolinkedNativeModules.g.targets +0 -10
  92. package/example/windows/PDFExample/MainPage.cpp +0 -24
  93. package/example/windows/PDFExample/MainPage.h +0 -21
  94. package/example/windows/PDFExample/MainPage.idl +0 -8
  95. package/example/windows/PDFExample/MainPage.xaml +0 -16
  96. package/example/windows/PDFExample/PDFExample.vcxproj +0 -205
  97. package/example/windows/PDFExample/PDFExample.vcxproj.filters +0 -64
  98. package/example/windows/PDFExample/PDFExample_TemporaryKey.pfx +0 -0
  99. package/example/windows/PDFExample/Package.appxmanifest +0 -52
  100. package/example/windows/PDFExample/PropertySheet.props +0 -16
  101. package/example/windows/PDFExample/ReactPackageProvider.cpp +0 -18
  102. package/example/windows/PDFExample/ReactPackageProvider.h +0 -15
  103. package/example/windows/PDFExample/packages.config +0 -5
  104. package/example/windows/PDFExample/pch.cpp +0 -1
  105. package/example/windows/PDFExample/pch.h +0 -29
  106. package/example/windows/PDFExample.sln +0 -264
  107. package/issue_template.md +0 -13
@@ -1,48 +0,0 @@
1
- {
2
- "name": "PDFExample",
3
- "version": "0.0.1",
4
- "private": true,
5
- "scripts": {
6
- "appium": "appium",
7
- "start": "react-native start",
8
- "clean": "yarn clean_native_builds && yarn clean_react_native && yarn clean_node_modules",
9
- "clean_native_builds": "rm -rf ios/build && rm -rf android/build/* && rm -rf android/app/build/* && rm -rf ios/Build",
10
- "clean_react_native": "rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all && lsof -n -i4TCP:8081 | sed '1 d' | awk '{print $2}' | xargs kill -9",
11
- "clean_node_modules": "rm -rf node_modules/ && yarn cache clean && yarn",
12
- "test": "jest",
13
- "test:windows": "yarn jest --config=./jest.windows.config.js --runInBand",
14
- "lint": "eslint ."
15
- },
16
- "author": {
17
- "name": "Wonday",
18
- "url": "https://github.com/wonday"
19
- },
20
- "license": "MIT",
21
- "bugs": {
22
- "url": "https://github.com/wonday/react-native-pdf/issues"
23
- },
24
- "dependencies": {
25
- "react": "16.13.1",
26
- "react-native": "0.63.2",
27
- "react-native-orientation-locker": "^1.1.6",
28
- "react-native-pdf": "file:../",
29
- "react-native-windows": "^0.63.11",
30
- "rn-fetch-blob": "^0.10.16"
31
- },
32
- "devDependencies": {
33
- "@babel/core": "^7.5.5",
34
- "@babel/runtime": "^7.5.5",
35
- "@react-native-community/eslint-config": "^0.0.5",
36
- "appium": "1.18.3",
37
- "babel-jest": "^24.8.0",
38
- "eslint": "^6.0.1",
39
- "jest": "^24.8.0",
40
- "metro-react-native-babel-preset": "^0.55.0",
41
- "react-test-renderer": "16.13.1",
42
- "selenium-appium": "0.0.15",
43
- "selenium-webdriver": "4.0.0-alpha.7"
44
- },
45
- "jest": {
46
- "preset": "react-native"
47
- }
48
- }
package/example/test.pdf DELETED
Binary file
@@ -1,80 +0,0 @@
1
- #include "pch.h"
2
-
3
- #include "App.h"
4
-
5
- #include "AutolinkedNativeModules.g.h"
6
- #include "ReactPackageProvider.h"
7
-
8
-
9
- using namespace winrt::PDFExample;
10
- using namespace winrt::PDFExample::implementation;
11
- using namespace winrt;
12
- using namespace Windows::UI::Xaml;
13
- using namespace Windows::UI::Xaml::Controls;
14
- using namespace Windows::UI::Xaml::Navigation;
15
- using namespace Windows::ApplicationModel;
16
-
17
- /// <summary>
18
- /// Initializes the singleton application object. This is the first line of
19
- /// authored code executed, and as such is the logical equivalent of main() or
20
- /// WinMain().
21
- /// </summary>
22
- App::App() noexcept
23
- {
24
- #if BUNDLE
25
- JavaScriptBundleFile(L"index.windows");
26
- InstanceSettings().UseWebDebugger(false);
27
- InstanceSettings().UseFastRefresh(false);
28
- #else
29
- JavaScriptMainModuleName(L"index");
30
- InstanceSettings().UseWebDebugger(true);
31
- InstanceSettings().UseFastRefresh(true);
32
- #endif
33
-
34
- #if _DEBUG
35
- InstanceSettings().UseDeveloperSupport(true);
36
- #else
37
- InstanceSettings().UseDeveloperSupport(false);
38
- #endif
39
-
40
- RegisterAutolinkedNativeModulePackages(PackageProviders()); // Includes any autolinked modules
41
-
42
- PackageProviders().Append(make<ReactPackageProvider>()); // Includes all modules in this project
43
- PackageProviders().Append(winrt::progress_view::ReactPackageProvider());
44
- InitializeComponent();
45
- }
46
-
47
- /// <summary>
48
- /// Invoked when the application is launched normally by the end user. Other entry points
49
- /// will be used such as when the application is launched to open a specific file.
50
- /// </summary>
51
- /// <param name="e">Details about the launch request and process.</param>
52
- void App::OnLaunched(activation::LaunchActivatedEventArgs const& e)
53
- {
54
- super::OnLaunched(e);
55
-
56
- Frame rootFrame = Window::Current().Content().as<Frame>();
57
- rootFrame.Navigate(xaml_typename<PDFExample::MainPage>(), box_value(e.Arguments()));
58
- }
59
-
60
- /// <summary>
61
- /// Invoked when application execution is being suspended. Application state is saved
62
- /// without knowing whether the application will be terminated or resumed with the contents
63
- /// of memory still intact.
64
- /// </summary>
65
- /// <param name="sender">The source of the suspend request.</param>
66
- /// <param name="e">Details about the suspend request.</param>
67
- void App::OnSuspending([[maybe_unused]] IInspectable const& sender, [[maybe_unused]] SuspendingEventArgs const& e)
68
- {
69
- // Save application state and stop any background activity
70
- }
71
-
72
- /// <summary>
73
- /// Invoked when Navigation to a certain page fails
74
- /// </summary>
75
- /// <param name="sender">The Frame which failed navigation</param>
76
- /// <param name="e">Details about the navigation failure</param>
77
- void App::OnNavigationFailed(IInspectable const&, NavigationFailedEventArgs const& e)
78
- {
79
- throw hresult_error(E_FAIL, hstring(L"Failed to load Page ") + e.SourcePageType().Name);
80
- }
@@ -1,20 +0,0 @@
1
- #pragma once
2
-
3
- #include "App.xaml.g.h"
4
-
5
- namespace activation = winrt::Windows::ApplicationModel::Activation;
6
-
7
- namespace winrt::PDFExample::implementation
8
- {
9
- struct App : AppT<App>
10
- {
11
- App() noexcept;
12
- void OnLaunched(activation::LaunchActivatedEventArgs const&);
13
- void OnSuspending(IInspectable const&, Windows::ApplicationModel::SuspendingEventArgs const&);
14
- void OnNavigationFailed(IInspectable const&, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs const&);
15
- private:
16
- using super = AppT<App>;
17
- };
18
- } // namespace winrt::PDFExample::implementation
19
-
20
-
@@ -1,3 +0,0 @@
1
- namespace PDFExample
2
- {
3
- }
@@ -1,10 +0,0 @@
1
- <react:ReactApplication
2
- x:Class="PDFExample.App"
3
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns:local="using:PDFExample"
6
- xmlns:react="using:Microsoft.ReactNative">
7
- <Application.Resources>
8
- <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
9
- </Application.Resources>
10
- </react:ReactApplication>
@@ -1,18 +0,0 @@
1
- // AutolinkedNativeModules.g.cpp contents generated by "react-native autolink-windows"
2
- // clang-format off
3
- #include "pch.h"
4
- #include "AutolinkedNativeModules.g.h"
5
-
6
- // Includes from react-native-pdf
7
- #include <winrt/RCTPdf.h>
8
-
9
- namespace winrt::Microsoft::ReactNative
10
- {
11
-
12
- void RegisterAutolinkedNativeModulePackages(winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::ReactNative::IReactPackageProvider> const& packageProviders)
13
- {
14
- // IReactPackageProviders from react-native-pdf
15
- packageProviders.Append(winrt::RCTPdf::ReactPackageProvider());
16
- }
17
-
18
- }
@@ -1,10 +0,0 @@
1
- // AutolinkedNativeModules.g.h contents generated by "react-native autolink-windows"
2
-
3
- #pragma once
4
-
5
- namespace winrt::Microsoft::ReactNative
6
- {
7
-
8
- void RegisterAutolinkedNativeModulePackages(winrt::Windows::Foundation::Collections::IVector<winrt::Microsoft::ReactNative::IReactPackageProvider> const& packageProviders);
9
-
10
- }
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <!-- AutolinkedNativeModules.g.props contents generated by "react-native autolink-windows" -->
4
- <PropertyGroup>
5
- </PropertyGroup>
6
- </Project>
@@ -1,10 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <!-- AutolinkedNativeModules.g.targets contents generated by "react-native autolink-windows" -->
4
- <ItemGroup>
5
- <!-- Projects from react-native-pdf -->
6
- <ProjectReference Include="$(ProjectDir)..\..\node_modules\react-native-pdf\windows\RCTPdf\RCTPdf.vcxproj">
7
- <Project>{03b8503f-f40d-4013-829c-71b304537d90}</Project>
8
- </ProjectReference>
9
- </ItemGroup>
10
- </Project>
@@ -1,24 +0,0 @@
1
- #include "pch.h"
2
- #include "MainPage.h"
3
- #if __has_include("MainPage.g.cpp")
4
- #include "MainPage.g.cpp"
5
- #endif
6
-
7
- #include "App.h"
8
-
9
-
10
-
11
- using namespace winrt;
12
- using namespace Windows::UI::Xaml;
13
-
14
- namespace winrt::PDFExample::implementation
15
- {
16
- MainPage::MainPage()
17
- {
18
- InitializeComponent();
19
- auto app = Application::Current().as<App>();
20
- ReactRootView().ReactNativeHost(app->Host());
21
- }
22
- }
23
-
24
-
@@ -1,21 +0,0 @@
1
- #pragma once
2
- #include "MainPage.g.h"
3
- #include <winrt/Microsoft.ReactNative.h>
4
-
5
-
6
- namespace winrt::PDFExample::implementation
7
- {
8
- struct MainPage : MainPageT<MainPage>
9
- {
10
- MainPage();
11
- };
12
- }
13
-
14
- namespace winrt::PDFExample::factory_implementation
15
- {
16
- struct MainPage : MainPageT<MainPage, implementation::MainPage>
17
- {
18
- };
19
- }
20
-
21
-
@@ -1,8 +0,0 @@
1
- namespace PDFExample
2
- {
3
- [default_interface]
4
- runtimeclass MainPage : Windows.UI.Xaml.Controls.Page
5
- {
6
- MainPage();
7
- }
8
- }
@@ -1,16 +0,0 @@
1
- <Page
2
- x:Class="PDFExample.MainPage"
3
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5
- xmlns:local="using:PDFExample"
6
- xmlns:react="using:Microsoft.ReactNative"
7
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
8
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
9
- mc:Ignorable="d"
10
- Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
11
- <react:ReactRootView
12
- x:Name="ReactRootView"
13
- ComponentName="PDFExample"
14
- Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
15
- MinHeight="400"/>
16
- </Page>
@@ -1,205 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="16.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props')" />
4
- <PropertyGroup Label="Globals">
5
- <CppWinRTOptimized>true</CppWinRTOptimized>
6
- <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
7
- <MinimalCoreWin>true</MinimalCoreWin>
8
- <ProjectGuid>{95f9323c-1039-4b6a-b69e-a9efddfefb54}</ProjectGuid>
9
- <ProjectName>PDFExample</ProjectName>
10
- <RootNamespace>PDFExample</RootNamespace>
11
- <DefaultLanguage>en-US</DefaultLanguage>
12
- <MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
13
- <AppContainerApplication>true</AppContainerApplication>
14
- <ApplicationType>Windows Store</ApplicationType>
15
- <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
16
- <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
17
- <WindowsTargetPlatformMinVersion>10.0.16299.0</WindowsTargetPlatformMinVersion>
18
- <PackageCertificateKeyFile>PDFExample_TemporaryKey.pfx</PackageCertificateKeyFile>
19
- <PackageCertificateThumbprint>E03C74524183D74C00377AF0154C246C9456C18F</PackageCertificateThumbprint>
20
- <PackageCertificatePassword>password</PackageCertificatePassword>
21
- </PropertyGroup>
22
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
23
- <PropertyGroup Label="ReactNativeWindowsProps">
24
- <ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
25
- </PropertyGroup>
26
- <ItemGroup Label="ProjectConfigurations">
27
- <ProjectConfiguration Include="Debug|ARM">
28
- <Configuration>Debug</Configuration>
29
- <Platform>ARM</Platform>
30
- </ProjectConfiguration>
31
- <ProjectConfiguration Include="Debug|ARM64">
32
- <Configuration>Debug</Configuration>
33
- <Platform>ARM64</Platform>
34
- </ProjectConfiguration>
35
- <ProjectConfiguration Include="Debug|Win32">
36
- <Configuration>Debug</Configuration>
37
- <Platform>Win32</Platform>
38
- </ProjectConfiguration>
39
- <ProjectConfiguration Include="Debug|x64">
40
- <Configuration>Debug</Configuration>
41
- <Platform>x64</Platform>
42
- </ProjectConfiguration>
43
- <ProjectConfiguration Include="Release|ARM">
44
- <Configuration>Release</Configuration>
45
- <Platform>ARM</Platform>
46
- </ProjectConfiguration>
47
- <ProjectConfiguration Include="Release|ARM64">
48
- <Configuration>Release</Configuration>
49
- <Platform>ARM64</Platform>
50
- </ProjectConfiguration>
51
- <ProjectConfiguration Include="Release|Win32">
52
- <Configuration>Release</Configuration>
53
- <Platform>Win32</Platform>
54
- </ProjectConfiguration>
55
- <ProjectConfiguration Include="Release|x64">
56
- <Configuration>Release</Configuration>
57
- <Platform>x64</Platform>
58
- </ProjectConfiguration>
59
- </ItemGroup>
60
- <PropertyGroup Label="Configuration">
61
- <ConfigurationType>Application</ConfigurationType>
62
- <CharacterSet>Unicode</CharacterSet>
63
- </PropertyGroup>
64
- <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
65
- <UseDebugLibraries>true</UseDebugLibraries>
66
- <LinkIncremental>true</LinkIncremental>
67
- </PropertyGroup>
68
- <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
69
- <UseDebugLibraries>false</UseDebugLibraries>
70
- <WholeProgramOptimization>true</WholeProgramOptimization>
71
- <LinkIncremental>false</LinkIncremental>
72
- </PropertyGroup>
73
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
74
- <ImportGroup Label="ExtensionSettings">
75
- </ImportGroup>
76
- <ImportGroup Label="PropertySheets">
77
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
78
- </ImportGroup>
79
- <ImportGroup Label="PropertySheets">
80
- <Import Project="PropertySheet.props" />
81
- </ImportGroup>
82
- <ImportGroup Label="ReactNativeWindowsPropertySheets">
83
- <Import Project="$(ReactNativeWindowsDir)\PropertySheets\external\Microsoft.ReactNative.Uwp.CppApp.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.props')" />
84
- <Import Project="..\packages\$(WinUIPackageProps)" Condition="'$(WinUIPackageProps)'!='' And Exists('..\packages\$(WinUIPackageProps)')" />
85
- </ImportGroup>
86
- <PropertyGroup Label="UserMacros" />
87
- <ItemDefinitionGroup>
88
- <ClCompile>
89
- <PrecompiledHeader>Use</PrecompiledHeader>
90
- <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
91
- <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
92
- <WarningLevel>Level4</WarningLevel>
93
- <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
94
- <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
95
- </ClCompile>
96
- </ItemDefinitionGroup>
97
- <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
98
- <ClCompile>
99
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100
- </ClCompile>
101
- </ItemDefinitionGroup>
102
- <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
103
- <ClCompile>
104
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
105
- </ClCompile>
106
- </ItemDefinitionGroup>
107
- <ItemGroup>
108
- <ClInclude Include="MainPage.h">
109
- <DependentUpon>MainPage.xaml</DependentUpon>
110
- <SubType>Code</SubType>
111
- </ClInclude>
112
- <ClInclude Include="ReactPackageProvider.h" />
113
- <ClInclude Include="AutolinkedNativeModules.g.h" />
114
- <ClInclude Include="pch.h" />
115
- <ClInclude Include="App.h">
116
- <DependentUpon>App.xaml</DependentUpon>
117
- </ClInclude>
118
- </ItemGroup>
119
- <ItemGroup>
120
- <ApplicationDefinition Include="App.xaml">
121
- <SubType>Designer</SubType>
122
- </ApplicationDefinition>
123
- </ItemGroup>
124
- <ItemGroup>
125
- <AppxManifest Include="Package.appxmanifest">
126
- <SubType>Designer</SubType>
127
- </AppxManifest>
128
- </ItemGroup>
129
- <ItemGroup>
130
- <Image Include="Assets\LockScreenLogo.scale-200.png" />
131
- <Image Include="Assets\SplashScreen.scale-200.png" />
132
- <Image Include="Assets\Square150x150Logo.scale-200.png" />
133
- <Image Include="Assets\Square44x44Logo.scale-200.png" />
134
- <Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" />
135
- <Image Include="Assets\StoreLogo.png" />
136
- <Image Include="Assets\Wide310x150Logo.scale-200.png" />
137
- </ItemGroup>
138
- <ItemGroup>
139
- <ClCompile Include="MainPage.cpp">
140
- <DependentUpon>MainPage.xaml</DependentUpon>
141
- <SubType>Code</SubType>
142
- </ClCompile>
143
- <ClCompile Include="ReactPackageProvider.cpp" />
144
- <ClCompile Include="AutolinkedNativeModules.g.cpp" />
145
- <ClCompile Include="pch.cpp">
146
- <PrecompiledHeader>Create</PrecompiledHeader>
147
- </ClCompile>
148
- <ClCompile Include="App.cpp">
149
- <DependentUpon>App.xaml</DependentUpon>
150
- </ClCompile>
151
- <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
152
- </ItemGroup>
153
- <ItemGroup>
154
- <Midl Include="App.idl">
155
- <DependentUpon>App.xaml</DependentUpon>
156
- </Midl>
157
- <Midl Include="MainPage.idl">
158
- <DependentUpon>MainPage.xaml</DependentUpon>
159
- <SubType>Code</SubType>
160
- </Midl>
161
- </ItemGroup>
162
- <ItemGroup>
163
- <None Include="..\..\test.pdf">
164
- <DeploymentContent>true</DeploymentContent>
165
- </None>
166
- <None Include="packages.config" />
167
- <None Include="PropertySheet.props" />
168
- <Text Include="readme.txt">
169
- <DeploymentContent>false</DeploymentContent>
170
- </Text>
171
- </ItemGroup>
172
- <ItemGroup>
173
- <Page Include="MainPage.xaml">
174
- <SubType>Designer</SubType>
175
- </Page>
176
- </ItemGroup>
177
- <ItemGroup>
178
- <ProjectReference Include="..\..\node_modules\@react-native-community\progress-view\windows\progress-view\progress-view.vcxproj">
179
- <Project>{ca54a654-5e81-44dc-af3f-cf55ef5b493a}</Project>
180
- </ProjectReference>
181
- </ItemGroup>
182
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
183
- <ImportGroup Label="ReactNativeWindowsTargets">
184
- <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets')" />
185
- </ImportGroup>
186
- <Target Name="EnsureReactNativeWindowsTargets" BeforeTargets="PrepareForBuild">
187
- <PropertyGroup>
188
- <ErrorText>This project references targets in your node_modules\react-native-windows folder. The missing file is {0}.</ErrorText>
189
- </PropertyGroup>
190
- <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.props'))" />
191
- <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets'))" />
192
- </Target>
193
- <ImportGroup Label="ExtensionTargets">
194
- <Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets')" />
195
- <Import Project="..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets" Condition="Exists('..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets')" />
196
- </ImportGroup>
197
- <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
198
- <PropertyGroup>
199
- <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
200
- </PropertyGroup>
201
- <Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props'))" />
202
- <Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets'))" />
203
- <Error Condition="!Exists('..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets'))" />
204
- </Target>
205
- </Project>
@@ -1,64 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <ItemGroup>
4
- <ApplicationDefinition Include="App.xaml" />
5
- </ItemGroup>
6
- <ItemGroup>
7
- <Midl Include="App.idl" />
8
- </ItemGroup>
9
- <ItemGroup>
10
- <ClCompile Include="pch.cpp" />
11
- <ClCompile Include="App.cpp" />
12
- <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
13
- <ClCompile Include="ReactPackageProvider.cpp" />
14
- <ClCompile Include="AutolinkedNativeModules.g.cpp" />
15
- </ItemGroup>
16
- <ItemGroup>
17
- <ClInclude Include="pch.h" />
18
- <ClInclude Include="App.h" />
19
- <ClInclude Include="ReactPackageProvider.h" />
20
- <ClInclude Include="AutolinkedNativeModules.g.h" />
21
- </ItemGroup>
22
- <ItemGroup>
23
- <Image Include="Assets\Wide310x150Logo.scale-200.png">
24
- <Filter>Assets</Filter>
25
- </Image>
26
- <Image Include="Assets\StoreLogo.png">
27
- <Filter>Assets</Filter>
28
- </Image>
29
- <Image Include="Assets\Square150x150Logo.scale-200.png">
30
- <Filter>Assets</Filter>
31
- </Image>
32
- <Image Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png">
33
- <Filter>Assets</Filter>
34
- </Image>
35
- <Image Include="Assets\Square44x44Logo.scale-200.png">
36
- <Filter>Assets</Filter>
37
- </Image>
38
- <Image Include="Assets\SplashScreen.scale-200.png">
39
- <Filter>Assets</Filter>
40
- </Image>
41
- <Image Include="Assets\LockScreenLogo.scale-200.png">
42
- <Filter>Assets</Filter>
43
- </Image>
44
- </ItemGroup>
45
- <ItemGroup>
46
- <AppxManifest Include="Package.appxmanifest" />
47
- </ItemGroup>
48
- <ItemGroup>
49
- <Filter Include="Assets">
50
- <UniqueIdentifier>{e48dc53e-40b1-40cb-970a-f89935452892}</UniqueIdentifier>
51
- </Filter>
52
- </ItemGroup>
53
- <ItemGroup>
54
- <None Include="PropertySheet.props" />
55
- <None Include="packages.config" />
56
- <None Include="..\..\test.pdf" />
57
- </ItemGroup>
58
- <ItemGroup>
59
- <Text Include="readme.txt" />
60
- </ItemGroup>
61
- <ItemGroup>
62
- <Page Include="MainPage.xaml" />
63
- </ItemGroup>
64
- </Project>
@@ -1,52 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
-
3
- <Package
4
- xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
5
- xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
6
- xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
7
- xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
8
- IgnorableNamespaces="uap mp rescap">
9
-
10
- <Identity
11
- Name="PDFExample"
12
- Publisher="CN=ja"
13
- Version="1.0.0.0" />
14
-
15
- <mp:PhoneIdentity PhoneProductId="53234ab6-11be-4530-8b91-5cca95d529e1" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
16
-
17
- <Properties>
18
- <DisplayName>PDFExample</DisplayName>
19
- <PublisherDisplayName>ja</PublisherDisplayName>
20
- <Logo>Assets\StoreLogo.png</Logo>
21
- </Properties>
22
-
23
- <Dependencies>
24
- <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
25
- </Dependencies>
26
-
27
- <Resources>
28
- <Resource Language="x-generate"/>
29
- </Resources>
30
-
31
- <Applications>
32
- <Application
33
- Id="App"
34
- Executable="$targetnametoken$.exe"
35
- EntryPoint="PDFExample.App">
36
- <uap:VisualElements
37
- DisplayName="PDFExample"
38
- Square150x150Logo="Assets\Square150x150Logo.png"
39
- Square44x44Logo="Assets\Square44x44Logo.png"
40
- Description="PDFExample"
41
- BackgroundColor="transparent">
42
- <uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
43
- <uap:SplashScreen Image="Assets\SplashScreen.png" />
44
- </uap:VisualElements>
45
- </Application>
46
- </Applications>
47
-
48
- <Capabilities>
49
- <Capability Name="internetClient" />
50
- <rescap:Capability Name="broadFileSystemAccess" />
51
- </Capabilities>
52
- </Package>