• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Mobile Camera permissions not available in .APK even when its opted in Cordova Features

Community Beginner ,
Nov 16, 2022 Nov 16, 2022

Copy link to clipboard

Copied

I am using coldfusion builder 2018 to develop mobile application and 2021 coldfusion standard edition. I have developed a very simple mobile app which uses features like GPS, FILE, CONTACTS and CAMERA. 

 

When application is installed in android emulator and executes, camera doesnt work. When i see permissions, all are present except camera.

 

Please advise whats missing.

All build logs are attached with this post.

Views

123

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Nov 23, 2022 Nov 23, 2022

- PROBLEM SOLVED -

 

I was able to solve it myself. The only problem that coldfusion builder was not adding permission of camera to a file called "AndroidManifest.xml" resding under folder "C:\Users\{you user}\cordova\{your project name}\platforms\android\app\src\main".

 

The only entry you need to add into this file is: 

 <uses-permission android:name="android.permission.CAMERA" />

 

 

Votes

Translate

Translate
Community Beginner ,
Nov 23, 2022 Nov 23, 2022

Copy link to clipboard

Copied

LATEST

- PROBLEM SOLVED -

 

I was able to solve it myself. The only problem that coldfusion builder was not adding permission of camera to a file called "AndroidManifest.xml" resding under folder "C:\Users\{you user}\cordova\{your project name}\platforms\android\app\src\main".

 

The only entry you need to add into this file is: 

 <uses-permission android:name="android.permission.CAMERA" />

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation