Trading View doesn't work on mobile app (without debug mode)

I am using Trading View library from in my project, it works fine on browser when access via both desktop and mobile but whenever I deploy app (both iOS and android) “without debug mode”, the page which embedded the trading view library won’t load. I don’t know where I’ve missed but wondering why it still works with debug or live reload mode. Please help.