Your react-native version is too old, please upgrade it to 0.47.0+ see also #39 When running, it shows 'Pdf' has no propType for native prop RCTPdf.acessibilityLabel of native type 'String'Ī2. For detail you can see the issue #24 and #2 After installation and running, I can not see the pdf file.Ī1: maybe you forgot to excute react-native link or it does not run correctly. To add a test.pdf like in the example add: If running RNW 0.62, also add PackageProviders().Append(winrt::RCTPdf::ReactPackageProvider()) and PackageProviders().Append(winrt::RNFetchBlob::ReactPackageProvider()).In App.cpp add PackageProviders().Append(winrt::progress_view::ReactPackageProvider()) before InitializeComponent().If running 0.62, also select #include "winrt/RNFetchBlob.h".In app pch.h add #include "winrt/progress_view.h" and #include "winrt/RCTPdf.h". ![]() If running 0.62, also select RCTPdf and RNFetchBlob.Select progress-view and in Solution Projects.Right-click main application project > Add > Reference. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |