Hi Diogo,

>From AIR 24 onwards added Permissions on Android and iOS.
Ref:https://helpx.adobe.com/flash-player/release-note/fp_24_air_24_release_notes.html

Check permission before open camera,

private var cam:Camera
if (Camera.isSupported)
            {
                cam = Camera.getCamera();
                  
                if (Camera.permissionStatus != PermissionStatus.GRANTED)
                {
                    cam.addEventListener(PermissionEvent.PERMISSION_STATUS,
function(e:PermissionEvent):void {
                        if (e.status == PermissionStatus.GRANTED)
                        {
                            connectCamera();
                        }
                        else
                        {
                            // permission denied
                        }
                    });
                      
                    try {
                        cam.requestPermission();
                    } catch(e:Error)
                    {
                        // another request is in progress
                    }
                }
                else
                {
                    connectCamera();
                }
            }

>>Google that only apps with API 26 or above will continue to be accepted.

You can't publish android app in the Google play store, if packaged with
Adobe AIR 27. 
Need to package android app with Adobe AIR 28 and above.






-----
Thanks & Regards,
M.Prabhu
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/

Reply via email to