Sample official documentation is being tested with Xperia SO-02E.
http://docs.monaca.mobi/3.5/ja/sampleapp/tips/camera/
If you preview the sample as it is, the camera application will start and you can take a picture, but after reading the image data after taking a picture, it will be devicerready. After the message "Synchronized", the image will be displayed for a moment.Infinite loop.
Even if I search for navigator.camera.getPicture, there seems to be no such case, so I don't know if it's unique to so-02e, but is there anyone else who loops indefinitely?
android monaca camera
The same has happened with the Nexus 7 2013 and Galaxy S4 Monaca debugger.The same was true of the high-performance version.The built one works fine, so there is a high possibility that the debugger is defective.
By the way, there is no problem with the debugger in your iOS environment.
I changed the settings and it's fixed.
Monaca Debugger Left Menu Settings
↓
Restart the project when returning to the app
↓
off
© 2024 OneMinuteCode. All rights reserved.