Today we are very excited to introduce version 7.1.3 of PDFTron's Android PDF SDK which includes a number of new features for our React Native Library, such as plug & play real-time document collaboration and even more UI customization APIs. In addition, support for cropping image annotations through the PDF Viewer UI has been added to streamline image heavy workflows. This blog post will go through the major changes in 7.1.3. For the full list of changes, please head over to our changelog for PDFTron 7.1.3 for Android .
Real-time Document Collaboration with React Native
PDFTron's React Native PDF Library now fully supports real-time document collaboration, allowing your users to collaborate on PDFs across multiple platforms (Android, iOS and web). With this update, it's faster and easier than ever to custom-build cross-platform mobile PDF experiences.
Real-time documentation collaboration can be enabled in a single step using the
collabEnabled prop, and you can sync annotation changes with your server using the
importAnnotationCommand method and
onExportAnnotationCommand prop. You can check out our documentation to learn more about real-time document collaboration on Android.
Customizing the PDF Viewer UI
The PDF Viewer's UI is now even more customizable using the React Native PDF Library (a sample can be found in our documentation here). A number of new APIs have been added, giving you the freedom needed to build unique world-class user experiences, and ultimately a successful product. Specific menu items in the quick menu can now be toggled on or off using the
annotationMenuItems prop and custom menu behavior can be applied using the
Similarly, APIs to override generic behavior have been added using the
onBehaviorActivated props. Currently only the link press behavior is supported, however we will be adding further support for behaviors in the future. If you're looking for behavior that is currently unsupported, please feel free to submit an issue to let us know.
Insert and Crop Image Annotations
Image annotations in the PDF can now be cropped directly in the PDF Viewer. Workflows that heavily use image annotations will benefit from this feature by allowing all image related work to be done within the viewer and reducing the need for external image cropping capabilities. For example Architecture, Engineering, and Construction (AEC) contractors using the PDF Viewer will be able to take pictures of the site and insert them into CAD drawings directly, without having to interrupt their workflow by navigating away from the viewer.
Some other features include:
- Support for customizing the style properties in the annotation style dialog (Android SDK)
- Event handling for annotation selection (React Native Wrapper)
- Ability to delete specified PDF annotations (React Native Wrapper)
We hope you like these changes. If you have any questions or suggestions, please don't hesitate to let us know . We also have many exciting new features planned for the coming weeks and months. So stay tuned!