react-native-print icon indicating copy to clipboard operation
react-native-print copied to clipboard

PDF print attempt causes crash on iOS17+

Open andy-zy opened this issue 2 years ago • 2 comments

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',
});

andy-zy avatar Oct 10 '23 07:10 andy-zy

+1 same bug

GregoryNative avatar Oct 10 '23 12:10 GregoryNative

+1 same bug

fianso98 avatar Jan 25 '24 14:01 fianso98