I am creating a camera app using the native camera app. The app runs fine in development mode but as soon as I run it in prod mode the app does not call the native app in constructor and directly loads the page that is supposed to show the image.
Now I am confused if I should call the plugin in constructor or somewhere else. I believe that the plugin gets called before the app is ready causing the issue but I am not sure. Has anyone experienced the same problem? Am I doing something wrong?
↧
Unable to call native camera plugin at startup in Production mode
↧