obsidian-better-pdf-plugin icon indicating copy to clipboard operation
obsidian-better-pdf-plugin copied to clipboard

Fix ReferenceError with Buffer object for iOS

Open batman-nair opened this issue 2 years ago • 2 comments

Use generic Uint8Array instead of the Buffer object. Buffer object raises a reference error and the base Uint8Array works well enough for the use case. Tested locally. With the fix, I can view pdfs on my iPhone app.

Resolves #36 and #21

batman-nair avatar Jan 14 '23 01:01 batman-nair

@MSzturc Can we do something to get this PR merged?

sportluffi avatar Apr 22 '23 08:04 sportluffi

@batman-nair & @sportluffi This PR is included in the Better PDF 2 plugin.

joleaf avatar Jun 15 '23 09:06 joleaf