Problem Description
On android, Using the usermedia plugin to show camera in one layout, freezes everything if you switch the layout to the other one.
Attach a Capx
https://dl.dropboxusercontent.com/u/24761800/cam_test.capx
Description of Capx
Displays the live view from your device camera,
if you click the blue button, will switch to layout 2
If you reach layout 2 , click blue button again to switch back to layout1.
Steps to Reproduce Bug
Create 2 layouts
Put usermedia plugin in layout 1
Request camera permission on start of layout 1
Create a separate button/trigger to go to layout 2
Export to cordova, then in intel XDK add the camera plugin
Compile to android apk and run on device
Observed Result
On android, if you click the button to go to another layout... everything freezes.
Expected Result
Simply switch the layout as normal
Affected Device
Android
Operating System and Service Pack
Windows 10
Construct 2 Version ID
v240