Having trouble loading image from phone



  • I’m having trouble getting an image from my phone’s photo album to render in my app, I keep getting various content-security-policy errors even when I have img-src *, img-src * data:, img-src * ‘self’ data:… here’s my meta tag:

        <meta http-equiv="Content-Security-Policy" content="default-src * data: gap: https://ssl.gstatic.com; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval';img-src *;">
    
    

    Can anyone tell me what I’m doing wrong?

    **Edit:
    So I managed to fix that problem but now when I upload an image or even when I just tap into a textarea and then tap away from it the page won’t scroll up and down anymore so I am stuck with the top half even when the keyboard disappears. Can anyone help?


  • Monaca

    @kelifine Please submit your project information here so we can take a look and try to see what is wrong with your project.



  • @khemry I only have the free account so I can’t submit technical support questions


  • Monaca

    @kelifine You can try with the General question category. Include your project name there. Then, I will be able to take a look at it.



  • @khemry thank you I just submitted it!


Log in to reply