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 · 2 comments
Open

PDF print attempt causes crash on iOS17+ #212

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

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, [email protected] ([email protected])
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants