react-native-blob-util 0.21.3 → 0.22.1

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.
@@ -1,109 +1,88 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- This project was created with react-native-windows 0.76.13 -->
2
3
  <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
- <Import Project="$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props')" />
4
+ <Import Project="$(SolutionDir)\ExperimentalFeatures.props" Condition="Exists('$(SolutionDir)\ExperimentalFeatures.props')" />
4
5
  <PropertyGroup Label="Globals">
5
6
  <CppWinRTOptimized>true</CppWinRTOptimized>
6
- <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge>
7
- <CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata>
8
7
  <MinimalCoreWin>true</MinimalCoreWin>
9
- <ProjectGuid>{cdde3311-efd2-462d-8551-93637a7fae92}</ProjectGuid>
8
+ <ProjectGuid>{CDDE3311-EFD2-462D-8551-93637A7FAE92}</ProjectGuid>
10
9
  <ProjectName>ReactNativeBlobUtil</ProjectName>
10
+ <Keyword>Win32Proj</Keyword>
11
11
  <RootNamespace>ReactNativeBlobUtil</RootNamespace>
12
+ <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
12
13
  <DefaultLanguage>en-US</DefaultLanguage>
13
- <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
14
- <AppContainerApplication>true</AppContainerApplication>
15
- <ApplicationType>Windows Store</ApplicationType>
16
- <ApplicationTypeRevision>10.0</ApplicationTypeRevision>
17
- <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.18362.0</WindowsTargetPlatformVersion>
18
- <WindowsTargetPlatformMinVersion>10.0.17134.0</WindowsTargetPlatformMinVersion>
14
+ <MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion>
15
+ <AppxPackage>false</AppxPackage>
19
16
  </PropertyGroup>
20
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
21
17
  <PropertyGroup Label="ReactNativeWindowsProps">
22
18
  <ReactNativeWindowsDir Condition="'$(ReactNativeWindowsDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'node_modules\react-native-windows\package.json'))\node_modules\react-native-windows\</ReactNativeWindowsDir>
19
+ <RunAutolinkCheck>false</RunAutolinkCheck>
23
20
  </PropertyGroup>
21
+ <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.WindowsSdk.Default.props" />
22
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
24
23
  <ItemGroup Label="ProjectConfigurations">
25
- <ProjectConfiguration Include="Debug|ARM">
26
- <Configuration>Debug</Configuration>
27
- <Platform>ARM</Platform>
28
- </ProjectConfiguration>
29
- <ProjectConfiguration Include="Debug|ARM64">
30
- <Configuration>Debug</Configuration>
31
- <Platform>ARM64</Platform>
32
- </ProjectConfiguration>
33
24
  <ProjectConfiguration Include="Debug|Win32">
34
25
  <Configuration>Debug</Configuration>
35
26
  <Platform>Win32</Platform>
36
27
  </ProjectConfiguration>
28
+ <ProjectConfiguration Include="Release|Win32">
29
+ <Configuration>Release</Configuration>
30
+ <Platform>Win32</Platform>
31
+ </ProjectConfiguration>
37
32
  <ProjectConfiguration Include="Debug|x64">
38
33
  <Configuration>Debug</Configuration>
39
34
  <Platform>x64</Platform>
40
35
  </ProjectConfiguration>
41
- <ProjectConfiguration Include="Release|ARM">
36
+ <ProjectConfiguration Include="Release|x64">
42
37
  <Configuration>Release</Configuration>
43
- <Platform>ARM</Platform>
38
+ <Platform>x64</Platform>
44
39
  </ProjectConfiguration>
45
- <ProjectConfiguration Include="Release|ARM64">
46
- <Configuration>Release</Configuration>
40
+ <ProjectConfiguration Include="Debug|ARM64">
41
+ <Configuration>Debug</Configuration>
47
42
  <Platform>ARM64</Platform>
48
43
  </ProjectConfiguration>
49
- <ProjectConfiguration Include="Release|Win32">
50
- <Configuration>Release</Configuration>
51
- <Platform>Win32</Platform>
52
- </ProjectConfiguration>
53
- <ProjectConfiguration Include="Release|x64">
44
+ <ProjectConfiguration Include="Release|ARM64">
54
45
  <Configuration>Release</Configuration>
55
- <Platform>x64</Platform>
46
+ <Platform>ARM64</Platform>
56
47
  </ProjectConfiguration>
57
48
  </ItemGroup>
58
49
  <PropertyGroup Label="Configuration">
59
50
  <ConfigurationType>DynamicLibrary</ConfigurationType>
60
- <PlatformToolset>v140</PlatformToolset>
61
- <PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset>
62
- <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset>
63
- <PlatformToolset Condition="'$(VisualStudioVersion)' == '17.0'">v142</PlatformToolset>
64
51
  <CharacterSet>Unicode</CharacterSet>
52
+ <PlatformToolset>v143</PlatformToolset>
65
53
  <GenerateManifest>false</GenerateManifest>
66
54
  </PropertyGroup>
67
55
  <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
68
56
  <UseDebugLibraries>true</UseDebugLibraries>
69
- <LinkIncremental>true</LinkIncremental>
70
57
  </PropertyGroup>
71
58
  <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
72
59
  <UseDebugLibraries>false</UseDebugLibraries>
73
60
  <WholeProgramOptimization>true</WholeProgramOptimization>
74
- <LinkIncremental>false</LinkIncremental>
75
61
  </PropertyGroup>
76
62
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
77
63
  <ImportGroup Label="ExtensionSettings">
78
64
  </ImportGroup>
79
- <ImportGroup Label="Shared">
80
- </ImportGroup>
81
65
  <ImportGroup Label="PropertySheets">
82
66
  <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
83
67
  </ImportGroup>
84
- <ImportGroup Label="PropertySheets">
85
- <Import Project="PropertySheet.props" />
86
- </ImportGroup>
87
68
  <ImportGroup Label="ReactNativeWindowsPropertySheets">
88
- <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" />
69
+ <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.props" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.props')" />
89
70
  </ImportGroup>
90
- <PropertyGroup Label="UserMacros" />
91
- <PropertyGroup />
92
71
  <ItemDefinitionGroup>
93
72
  <ClCompile>
94
73
  <PrecompiledHeader>Use</PrecompiledHeader>
95
74
  <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
96
75
  <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
97
76
  <WarningLevel>Level4</WarningLevel>
77
+ <SDLCheck>true</SDLCheck>
98
78
  <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
99
- <!--Temporarily disable cppwinrt heap enforcement to work around xaml compiler generated std::shared_ptr use -->
100
- <AdditionalOptions Condition="'$(CppWinRTHeapEnforcement)'==''">/DWINRT_NO_MAKE_DETECTION %(AdditionalOptions)</AdditionalOptions>
101
- <DisableSpecificWarnings>
102
- </DisableSpecificWarnings>
103
- <PreprocessorDefinitions>_WINRT_DLL;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79
+ <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
80
+ <PreprocessorDefinitions>_WINRT_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104
81
  <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
82
+ <LanguageStandard>stdcpp20</LanguageStandard>
105
83
  </ClCompile>
106
84
  <Link>
85
+ <AdditionalDependencies>shell32.lib;user32.lib;windowsapp.lib;%(AdditionalDependenices)</AdditionalDependencies>
107
86
  <SubSystem>Console</SubSystem>
108
87
  <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
109
88
  <ModuleDefinitionFile>ReactNativeBlobUtil.def</ModuleDefinitionFile>
@@ -112,26 +91,25 @@
112
91
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
113
92
  <ClCompile>
114
93
  <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115
- <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
116
94
  </ClCompile>
117
95
  </ItemDefinitionGroup>
118
96
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
119
97
  <ClCompile>
120
98
  <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
121
99
  </ClCompile>
122
- <Link>
123
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
124
- <OptimizeReferences>true</OptimizeReferences>
125
- </Link>
126
100
  </ItemDefinitionGroup>
101
+ <PropertyGroup Label="UserMacros" />
127
102
  <ItemGroup>
128
- <ClInclude Include="pch.h" />
103
+ <ClInclude Include="ReactNativeBlobUtil.h" />
129
104
  <ClInclude Include="ReactPackageProvider.h">
130
105
  <DependentUpon>ReactPackageProvider.idl</DependentUpon>
131
106
  </ClInclude>
132
- <ClInclude Include="ReactNativeBlobUtil.h" />
107
+ <ClInclude Include="resource.h" />
108
+ <ClInclude Include="pch.h" />
109
+ <ClInclude Include="targetver.h" />
133
110
  </ItemGroup>
134
111
  <ItemGroup>
112
+ <ClCompile Include="ReactNativeBlobUtil.cpp" />
135
113
  <ClCompile Include="pch.cpp">
136
114
  <PrecompiledHeader>Create</PrecompiledHeader>
137
115
  </ClCompile>
@@ -139,43 +117,24 @@
139
117
  <DependentUpon>ReactPackageProvider.idl</DependentUpon>
140
118
  </ClCompile>
141
119
  <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
142
- <ClCompile Include="ReactNativeBlobUtil.cpp" />
143
120
  </ItemGroup>
144
121
  <ItemGroup>
145
122
  <Midl Include="ReactPackageProvider.idl" />
146
123
  </ItemGroup>
147
124
  <ItemGroup>
148
- <None Include="packages.config" />
149
- <None Include="ReactNativeBlobUtil.def" />
150
- </ItemGroup>
151
- <ItemGroup>
152
- <None Include="PropertySheet.props" />
125
+ <ResourceCompile Include="ReactNativeBlobUtil.rc" />
153
126
  </ItemGroup>
154
127
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
155
128
  <ImportGroup Label="ReactNativeWindowsTargets">
156
- <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" />
129
+ <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.targets" Condition="Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.targets')" />
157
130
  </ImportGroup>
131
+ <ItemGroup>
132
+ </ItemGroup>
158
133
  <Target Name="EnsureReactNativeWindowsTargets" BeforeTargets="PrepareForBuild">
159
134
  <PropertyGroup>
160
- <ErrorText>This project references targets in your node_modules\react-native-windows folder that are missing. The missing file is {0}.</ErrorText>
135
+ <ErrorText>This project references targets in your node_modules\react-native-windows folder. The missing file is {0}.</ErrorText>
161
136
  </PropertyGroup>
162
- <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.props'))" />
163
- <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets'))" />
137
+ <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.props')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.props'))" />
138
+ <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.CppLib.targets'))" />
164
139
  </Target>
165
- <ImportGroup Label="ExtensionTargets">
166
- <Import Project="$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets')" />
167
- </ImportGroup>
168
- <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
169
- <PropertyGroup>
170
- <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>
171
- </PropertyGroup>
172
- <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.props'))" />
173
- <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.200615.7\build\native\Microsoft.Windows.CppWinRT.targets'))" />
174
- </Target>
175
- <ItemGroup>
176
- <ProjectReference Update="$(ReactNativeWindowsDir)\Microsoft.ReactNative\Microsoft.ReactNative.vcxproj">
177
- <ReferenceOutputAssembly>true</ReferenceOutputAssembly>
178
- <LinkLibraryDependencies>true</LinkLibraryDependencies>
179
- </ProjectReference>
180
- </ItemGroup>
181
- </Project>
140
+ </Project>
@@ -1,32 +1,44 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
+ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
3
  <ItemGroup>
4
- <Filter Include="Resources">
5
- <UniqueIdentifier>accd3aa8-1ba0-4223-9bbe-0c431709210b</UniqueIdentifier>
6
- <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tga;tiff;tif;png;wav;mfcribbon-ms</Extensions>
4
+ <Filter Include="Source Files">
5
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
7
  </Filter>
8
- <Filter Include="Generated Files">
9
- <UniqueIdentifier>{926ab91d-31b4-48c3-b9a4-e681349f27f0}</UniqueIdentifier>
8
+ <Filter Include="Header Files">
9
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
10
+ <Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
11
+ </Filter>
12
+ <Filter Include="Resource Files">
13
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
14
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
10
15
  </Filter>
11
16
  </ItemGroup>
12
17
  <ItemGroup>
13
- <ClCompile Include="pch.cpp" />
14
- <ClCompile Include="ReactPackageProvider.cpp" />
15
- <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" />
16
- <ClCompile Include="ReactNativeBlobUtil.cpp" />
17
- </ItemGroup>
18
- <ItemGroup>
19
- <ClInclude Include="pch.h" />
20
- <ClInclude Include="ReactNativeBlobUtil.h" />
21
- </ItemGroup>
22
- <ItemGroup>
23
- <Midl Include="ReactPackageProvider.idl" />
18
+ <ClInclude Include="targetver.h">
19
+ <Filter>Header Files</Filter>
20
+ </ClInclude>
21
+ <ClInclude Include="resource.h">
22
+ <Filter>Header Files</Filter>
23
+ </ClInclude>
24
+ <ClInclude Include="ReactNativeBlobUtil.h">
25
+ <Filter>Header Files</Filter>
26
+ </ClInclude>
27
+ <ClInclude Include="pch.h">
28
+ <Filter>Header Files</Filter>
29
+ </ClInclude>
24
30
  </ItemGroup>
25
31
  <ItemGroup>
26
- <None Include="ReactNativeBlobUtil.def" />
27
- <None Include="packages.config" />
32
+ <ClCompile Include="ReactNativeBlobUtil.cpp">
33
+ <Filter>Source Files</Filter>
34
+ </ClCompile>
35
+ <ClCompile Include="pch.cpp">
36
+ <Filter>Source Files</Filter>
37
+ </ClCompile>
28
38
  </ItemGroup>
29
39
  <ItemGroup>
30
- <None Include="PropertySheet.props" />
40
+ <ResourceCompile Include="ReactNativeBlobUtil.rc">
41
+ <Filter>Resource Files</Filter>
42
+ </ResourceCompile>
31
43
  </ItemGroup>
32
44
  </Project>
@@ -1,15 +1,20 @@
1
1
  #include "pch.h"
2
+
2
3
  #include "ReactPackageProvider.h"
4
+ #if __has_include("ReactPackageProvider.g.cpp")
3
5
  #include "ReactPackageProvider.g.cpp"
6
+ #endif
4
7
 
5
8
  #include "ReactNativeBlobUtil.h"
6
9
 
7
10
  using namespace winrt::Microsoft::ReactNative;
8
11
 
9
- namespace winrt::ReactNativeBlobUtil::implementation {
12
+ namespace winrt::ReactNativeBlobUtil::implementation
13
+ {
10
14
 
11
- void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept {
12
- AddAttributedModules(packageBuilder);
15
+ void ReactPackageProvider::CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept
16
+ {
17
+ AddAttributedModules(packageBuilder, true);
13
18
  }
14
19
 
15
20
  } // namespace winrt::ReactNativeBlobUtil::implementation
@@ -1,11 +1,14 @@
1
1
  #pragma once
2
+
2
3
  #include "ReactPackageProvider.g.h"
3
4
 
4
5
  using namespace winrt::Microsoft::ReactNative;
5
6
 
6
- namespace winrt::ReactNativeBlobUtil::implementation {
7
+ namespace winrt::ReactNativeBlobUtil::implementation
8
+ {
7
9
 
8
- struct ReactPackageProvider : ReactPackageProviderT<ReactPackageProvider> {
10
+ struct ReactPackageProvider : ReactPackageProviderT<ReactPackageProvider>
11
+ {
9
12
  ReactPackageProvider() = default;
10
13
 
11
14
  void CreatePackage(IReactPackageBuilder const &packageBuilder) noexcept;
@@ -13,7 +16,8 @@ struct ReactPackageProvider : ReactPackageProviderT<ReactPackageProvider> {
13
16
 
14
17
  } // namespace winrt::ReactNativeBlobUtil::implementation
15
18
 
16
- namespace winrt::ReactNativeBlobUtil::factory_implementation {
19
+ namespace winrt::ReactNativeBlobUtil::factory_implementation
20
+ {
17
21
 
18
22
  struct ReactPackageProvider : ReactPackageProviderT<ReactPackageProvider, implementation::ReactPackageProvider> {};
19
23
 
@@ -1,9 +1,9 @@
1
1
  namespace ReactNativeBlobUtil
2
2
  {
3
- [webhosthidden]
4
- [default_interface]
5
- runtimeclass ReactPackageProvider
6
- : Microsoft.ReactNative.IReactPackageProvider {
7
- ReactPackageProvider();
8
- };
9
- } // namespace ReactNativeBlobUtil
3
+ [webhosthidden]
4
+ [default_interface]
5
+ runtimeclass ReactPackageProvider : Microsoft.ReactNative.IReactPackageProvider
6
+ {
7
+ ReactPackageProvider();
8
+ };
9
+ }
@@ -0,0 +1,2 @@
1
+ DisableFormat: true
2
+ SortIncludes: false
@@ -0,0 +1,42 @@
1
+
2
+ /*
3
+ * This file is auto-generated from a NativeModule spec file in js.
4
+ *
5
+ * This is a C++ Spec class that should be used with MakeTurboModuleProvider to register native modules
6
+ * in a way that also verifies at compile time that the native module matches the interface required
7
+ * by the TurboModule JS spec.
8
+ */
9
+ #pragma once
10
+ // clang-format off
11
+
12
+ #include <string>
13
+ #include <optional>
14
+ #include <functional>
15
+ #include <vector>
16
+
17
+ namespace ReactNativeBlobUtilCodegen {
18
+
19
+ struct BlobUtilsSpec_Constants {
20
+ std::string CacheDir;
21
+ std::string DocumentDir;
22
+ std::string DownloadDir;
23
+ std::string LibraryDir;
24
+ std::string MainBundleDir;
25
+ std::string MovieDir;
26
+ std::string MusicDir;
27
+ std::string PictureDir;
28
+ std::string ApplicationSupportDir;
29
+ std::string RingtoneDir;
30
+ std::string SDCardDir;
31
+ std::string SDCardApplicationDir;
32
+ std::string DCIMDir;
33
+ std::string LegacyDCIMDir;
34
+ std::string LegacyPictureDir;
35
+ std::string LegacyMusicDir;
36
+ std::string LegacyDownloadDir;
37
+ std::string LegacyMovieDir;
38
+ std::string LegacyRingtoneDir;
39
+ std::string LegacySDCardDir;
40
+ };
41
+
42
+ } // namespace ReactNativeBlobUtilCodegen