문제

So I am running the PDF Plugin from here and after following the directions and adding it to my project everything seems to work fine, I get the screenshot below to open, but then when I tap on the "Click to open CordovaBot.pdf!" I get this error on my console and the screen freezes:

2013-08-16 13:55:10.984 [788:907] CordovaBot.pdf
Assertion failed: (filename != nil), function +[ReaderDocument archiveFilePath:], file /Users/.../phonegap-3.0.0/lib/ios/CordovaLib/ReaderDocument.m, line 118.

*Also to note I changed the format of the exec to the correct one, so this shouldn't be the issue.

enter image description here

도움이 되었습니까?

해결책

agh got it, had the add the file directly to the project folder main directory, HelloWorldProject/CordovaBot.pdf

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top