Preliminary testing with ICEfaces 4 trunk r49564 using Tomcat 7 with and without SSL. On mobile devices bridgeIt was not installed during testing.
android 6.0.1
Non-SSL Camera - After pressing the Camera button a "Choose file" button is
presented. After pressing Choose File the native camera opens. A front or rear facing camera can be chosen with the native controls. When returning to the app the "Image captured" button has a spinning indicator on the right.The indicator continues to spin several minutes after taking the photo.
The photo is successfully uploaded.
SSL Camera - After pressing the Camera button a small window pops up with a front facing video image. There is a Take picture and a Cancel Button. There does not appear to be an option to take a rear facing photo.
The photo is successfully uploaded.
Non-SSL and SSL Camcorder - Insists that bridgeIt be installed, will not function without it.
Non-SSL Microphone - After pressing Record Audio a "Choose File" button is presented. After pressing Choose file a "Choose action" dialog was presented. The options there were Camera, Camcorder and Documents. No microphone option was available.
SSL Microphone - After pressing the "Record Audio" button a dialog asking for microphone access appears. After allowing access a small window pops up with recording controls. After making a recording and pressing the stop button there are "Redo Recording", "Keep recording" and "Cancel" buttons. While making the recording the timer stays at 0. After pressing start the time shows the length of the recording.
The recording is successfully uploaded and can be played back.
ios 10.0.2
Non-SSL and SSL Camera - After pressing Camera button a dialog is seen "Cannot Open Page, Safari can not open the page because the address is invalid". Through the modal background you can see the "Having Problems? BridgeIt may not be installed" dialog. After dismissing both dialogs there is a "Choose file" button displayed, instead of the Camera button. After pressing Choose file there are 3 options "Take Photo, Photo Library and iCloud Drive"
After choosing "Take Photo" the native camera is loaded with the ability to take front or rear facing photos. When returning to the app the "Image captured" button has a spinning indicator on the right.The indicator continues to spin several minutes after taking the photo.
The photo is successfully uploaded.
Attempting to take a second photo fails. After pressing the camera button the "Cannot open page" and "Having Problems" dialogs are again displayed. After dismissing the dialogs the camera or choose file buttons are removed from the page.
Non-SSL and SSL Camcorder Insists that bridgeIt be installed, will not function
without it.
Non-SSL and SSL Microphone - After pressing Record Audio a "Choose File" button is presented. After pressing Choose file a "Choose action" dialog was presented. The options there were Take photo or video, Photo Library and iCloudDrive. No microphone option was available.
FF 47 and Chrome 54
Non-SSL and SSL Camera - No issues with camera or file uploads. There is no option to toggle front or rear camera.
Non-SSL and SSL Camcorder - Not available in FF or Chrome browser.
Non-SSL and SSL Microphone - Demo appears to function properly. I am prompted to allow access to the microphone and can record and upload files successfully. I am not able to hear the sound recording playback. It may be an issue with my laptop as I believe the microphone is broken.
IE 11
Non-SSL and SSL Camera - After pressing the Camera button a "Sorry the camera command for bridgeIt is not supported on this platform" dialog is shown. After dismissing the dialog you can browse for an image. After choosing an image and pressing open, a browser console error appears and you can no longer use the demo.
SCRIPT5009: 'updateThumbnail' is undefined
File: eval code (76), Line: 101, Column: 9
If the browser console is not open while testing, the image can be successfully uploaded.
Non-SSL and SSL Camcorder - Not available in IE 11 browser.
Non-SSL and SSL Microphone - No prompted to allow microphone use, instead I can upload a pre-existing .mp3 file. Playback is successfully.
r49552: modified mobi:camera to first detect if the getUserMedia API is available and launch the HTML5 camera, otherwise attempt to use Bridgeit, if not installed, then display the fallback file upload input; also added behaviour of hiding the toggle button when a picture is taken and showing it again when pressing the redo button; added workaround for Android devices to tap on the still image to start the camera video stream; and added the 'facingMode' attribute to specify to start with the 'rear' or 'front' camera
Testing notes: please test this on all supported browsers and devices. Note that the file upload fallback might take 10 seconds to show, because it's triggered by an onfailure callback on the bridgeit javascrpt, which explicity sets a 10-second timeout. This is the way it has always been.