Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-301] Android: CAMERA_PERMISSION missing if only Media.showCamera API is used

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:39.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.9.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:26:53.000+0000
Updated2011-04-17T01:52:39.000+0000

Description

The camera permission is only added if the video player API is used.

Apply the attached patch or update .../android/builder.py to include the following line in the permissions section.

'Media.showCamera' : CAMERA_PERMISSION,

Should look similar to.

# MEDIA
'Media.vibrate' : VIBRATE_PERMISSION,
'Media.createVideoPlayer' : CAMERA_PERMISSION,
'Media.showCamera' : CAMERA_PERMISSION,

CONTACTS

Attachments

FileDateSize
0001-builder-missing-mediashowcamera-s-permission.patch2011-04-15T02:26:53.000+0000747

Comments

No comments

JSON Source