Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6464] Ti.Media.hasCameraPermissions() is not a function on 8.3.0.GA

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsbug, critical
ReporterFran Rodas
AssigneeNazmus Salahin
Created2019-12-31T14:24:52.000+0000
Updated2020-11-26T20:48:49.000+0000

Description

When I´m trying to get the camera permissions on iOS app runing 8.3.0.GA Ti.Media.cameraPermissions() shows me this error: Ti.Media.hasCameraPermissions is not a function. (In 'Ti.Media.hasCameraPermissions()', 'Ti.Media.hasCameraPermissions' is undefined

Comments

  1. Nazmus Salahin 2020-01-01

    Hello [~frodfigu], Thanks for reaching to us. Seems it's maybe your coding issue. Can you please share a sample test code to reproduce the issue on our end? Thanks
  2. Beau Gibson 2020-11-26

    I had this happen after adding the hasCameraPermissions check without rebuilding the app (ie using liveview). Build a basic example app with liveview enabled, then add the Ti.Media.hasCameraPermissions() check and it will throw the error above.

JSON Source