We ran "xcodebuild" command but it exited with error code 65.'Ī5. Why can't I run the iOS example? 'Failed to build iOS project. why doesn't it work with react native expo?.Ī4. NSTemporaryExceptionAllowsInsecureHTTPLoads Here is an example : NSAppTransportSecurity Check your uri, if you hit a pdf that is hosted on a http you will need to do the following:Īdd an exception for the server hosting the pdf in the ios ist. When I run the example app I get a white/gray screen / the loading bar isn't progressing. 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::ReactNativeBlobUtil::ReactPackageProvider()).In App.cpp add PackageProviders().Append(winrt::progress_view::ReactPackageProvider()) before InitializeComponent().If running 0.62, also select #include "winrt/ReactNativeBlobUtil.h".In app pch.h add #include "winrt/RCTPdf.h".
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |