InAppBrowser input file crashes when i'm in production... But it works on debugger!

Hi, im developing an app who interacts with a website of my own, i have a camera input and it works if i launch the application from xcode, but if i relaunch the app without the xcode i gives an permissions error

Anyone can help me? This is so frustrating