Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5968] Titanium 7.4.0 bug: showCamera fails with NO_CAMERA error on Samsung Galaxy S7 (Android 8)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2018-12-12T09:25:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid
Reportermabonga@pristone.net
AssigneeChris Bowley
Created2018-10-11T19:19:26.000+0000
Updated2018-12-12T09:25:06.000+0000

Description

When taking a photo on Samsung Galaxy S7 (Android 8) the code below fails: if( Titanium.Media.isCameraSupported && exception == false){ //if(true){ // Camera available Titanium.Media.showCamera({ success:function(event) { / }, cancel:function() { // called when user cancels taking a picture }, error:function(error) { if (error.code == Titanium.Media.NO_CAMERA) { console.log('error 1'); } else { console.log('error2'); } } }

Comments

  1. Ewan Harris 2018-10-12

    [~mabonga@pristone.net] Please dont create tickets in this project, the correct project is AC so moving there
  2. Sharif AbuDarda 2018-10-12

    Hello, Please share a full reproducible sample project that is sufficient to generate the issue. Thanks.
  3. mabonga@pristone.net 2018-10-26

    Any progress?
  4. Michael Gangolf 2018-10-26

  5. Sharif AbuDarda 2018-11-29

    Hello [~mabonga@pristone.net], What's the update of your issue? Can you try with the SDK 8.0.0 RC versions? Thanks.
  6. Rakhi Mitro 2018-12-05

    Hello, Just passing as update here.Are you able to get that sorted out?  Please let us know if you need more help with this issue. Regards, Rakhi

JSON Source