bug: capacitor/ionic application able to access camera and store image without asking permission.

Open
#2,821 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
android

Research direction

Start with the deploying-mobile tutorial at the linked URL and inspect the AndroidManifest.xml permission guidance around the APK build step. Reproduce or verify the camera and photo-storage behavior in Android Studio, then clarify the tutorial so it explains whether the permission XML is required and what users should expect.

Written by the indexing model from the issue text.

Description

content
URL

https://ionicframework.com/docs/react/your-first-app/deploying-mobile

Issue Description

I was following the photo-gallery app tutorial step by step.

When I did the build apk step in Android Studio, I forgot to add the permission xml into AndroidManifest.xml file.

But strangely, all the functionalities of the application worked as expected (camera, photo storage functionality). I couldn't understand this behavior from the android app. Could someone guide me what I am missing here. Thanks.

Dominant language
MDX
Stars
621
Forks
3.2k
Avg merge
1d 2h
Merged PRs (30d)
86

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ionic-team/ionic-docs

All issues in ionic-team/ionic-docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.