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

PDF print attempt causes crash on iOS17+ #212

Open
andy-zy opened this issue Oct 10, 2023 · 3 comments
Open

PDF print attempt causes crash on iOS17+ #212

andy-zy opened this issue Oct 10, 2023 · 3 comments
Labels

Comments

@andy-zy
Copy link

andy-zy commented Oct 10, 2023

Hi

The app crashes on attempt to print a remote PDF document which contains more then 1 page.
Exception:

NSInvalidArgumentException: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]

Reproduces 100% cases on iOS17, react-native-print@0.11.0 (react-native@0.71.12)
Usage code example:

import RNPrint from 'react-native-print';

await RNPrint.print({
  filePath: 'https://exmaple.com/some-document.pdf',
});
@GregoryNative
Copy link

+1 same bug

1 similar comment
@fianso98
Copy link

+1 same bug

Copy link

stale bot commented Jan 21, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants