Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS Catalog Improvements #402

Merged
merged 5 commits into from
May 19, 2021
Merged

iOS Catalog Improvements #402

merged 5 commits into from
May 19, 2021

Conversation

radazzouz
Copy link
Contributor

@radazzouz radazzouz commented May 19, 2021

Details

This PR adds several enhancements to the iOS Catalog example project. Here are the release notes:

  • Adds a README file for the Catalog example project.
  • Updates the ConfiguredPDFViewComponent iOS example to show the settings button in navigation bar.
  • Fixes issue where the pageIndex prop needed to be set before the document prop.

Acceptance Criteria

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

@radazzouz radazzouz requested a review from steviki May 19, 2021 12:54
@radazzouz radazzouz self-assigned this May 19, 2021
@radazzouz radazzouz changed the title Rad/catalog improvements iOS Catalog Improvements May 19, 2021
if (view.annotationAuthorName) {
view.pdfController.document.defaultAnnotationUsername = view.annotationAuthorName;
}

view.pdfController.pageIndex = view.pageIndex;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 to allow setting this after the document is set.

Copy link
Contributor

@steviki steviki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@radazzouz radazzouz merged commit d5a66ca into master May 19, 2021
@radazzouz radazzouz deleted the rad/catalog-improvements branch May 19, 2021 14:45
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.

2 participants