1. #41
    Touch Premium Member
    Join Date
    Feb 2011
    Posts
    5
    Vote Rating
    0
    hudibm is on a distinguished road

      0  

    Default i found a solution

    i found a solution


    Quote Originally Posted by hudibm View Post
    i see it works in the browser locally but once i build production (cmd >> sencha app build production)
    and upload it to my server it does not work. same issue like was mentioend above by 'morphew'
    but im not using a local file im using the pdf example you give (http://cdn.mozilla.net/pdfjs/tracemonkey.pdf).
    when you build production using the sencha tools it does something to the file(processes/minifies) so i guess taht messes up something. once i remove the pdf.js path out of the SDK folder and out of the app.Json file and add it to the project after production it works great(dont for get to give the html file the correct path to pdf.js)

  2. #42
    Touch Premium Member
    Join Date
    Feb 2011
    Posts
    5
    Vote Rating
    0
    hudibm is on a distinguished road

      0  

    Default does this work off line?

    does this work off line?


    i cached teh pdf file. but if im off line it wont work. doesnt even get to the spinner.

  3. #43
    Sencha User
    Join Date
    Jan 2012
    Posts
    2
    Vote Rating
    0
    frankie0515 is on a distinguished road

      0  

    Default


    sorry,i'm try to package into android or iphone
    but afrer i build app ,the pdf canvas just not working.
    android will show an div (Hi Hi Hi),iphone just loading or crash
    i try include the pdf.js outside the app.json ,but not work either
    is this component can't build native app???

  4. #44
    Sencha User
    Join Date
    Apr 2013
    Posts
    1
    Vote Rating
    0
    javier.ruiz is on a distinguished road

      0  

    Default


    I have the same problem than QMG, I can see the pdf page duplicated and the text very big!