Skip to content

Create the PDFViewPage when asked to by react native.#229

Merged
nickwinder merged 3 commits into
masterfrom
nick/uwp/solve-lifetime-issue
May 27, 2019
Merged

Create the PDFViewPage when asked to by react native.#229
nickwinder merged 3 commits into
masterfrom
nick/uwp/solve-lifetime-issue

Conversation

@nickwinder

@nickwinder nickwinder commented May 24, 2019

Copy link
Copy Markdown
Contributor

Fixes : https://github.com/PSPDFKit/react-native/issues/212

Details

There was a lifetime issue when navigating back and forth between views. Now we create a view when react native wants to. The unloading is still handled in UWP.

Acceptance Criteria

  • When approved, right before merging, rebase with master and increment the package version in package.json, package-lock.json, and samples/Catalog/package.json (see example commit: 1bf805f).
  • Create a new release (and tag) with the new package version (see https://github.com/PSPDFKit/react-native/releases).

@nickwinder nickwinder self-assigned this May 24, 2019
Comment thread windows/ReactNativePSPDFKit/ReactNativePSPDFKit/PDFViewPage.xaml.cs
@nickwinder nickwinder merged commit d541e08 into master May 27, 2019
@nickwinder nickwinder deleted the nick/uwp/solve-lifetime-issue branch May 27, 2019 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UWP] Promise returned by PSPDFKit.Present(<path>); does not always resolve/reject

2 participants