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.
- 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" />
Copy link to clipboard
Copied
- 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" />