Skip to content

Commit

Permalink
Merge pull request #6 from Microsoft/rnwcpp-preview
Browse files Browse the repository at this point in the history
Rnwcpp preview
  • Loading branch information
randy-flynn authored Apr 1, 2019
2 parents 5f196a2 + 1cd3a80 commit fd87df6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RNWCPP/ReactUWP/Utils/LocalBundleReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ std::future<std::string> LocalBundleReader::LoadBundleAsync(const std::string& b
winrt::hstring str(facebook::react::UnicodeConversion::Utf8ToUtf16(bundleUri));
winrt::Windows::Foundation::Uri uri(str);

co_await winrt::resume_background();

auto file = co_await winrt::Windows::Storage::StorageFile::GetFileFromApplicationUriAsync(uri);
auto hdata = co_await winrt::Windows::Storage::FileIO::ReadTextAsync(file);

Expand Down
2 changes: 1 addition & 1 deletion RNWCPP/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-windows",
"version": "0.57.0-vnext.29",
"version": "0.57.0-vnext.30",
"license": "MIT",
"description": "ReactNative Windows implementation using react-native's c++ ReactCommon bridge",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit fd87df6

Please sign in to comment.