ionic-team / capacitor-barcode-scanner

https://capacitorjs.com/docs/apis/barcode-scanner
MIT License
8 stars 2 forks source link

Show message that Camera is not allowed on ios #18

Open lunatiqqc opened 1 month ago

lunatiqqc commented 1 month ago

On android an error message is displayed when camera access is not allowed. Is it possible for this to happen on ios as well?

akira32 commented 3 weeks ago

I build the android failed. The picture of android studio as below:

截圖 2024-08-22 下午3 53 13

Does someone have any idea to solve this problem?

I use npx cap sync and then use ionic capacitor build android., and then ionic cap open android. Android Studio appears an error : Caused by: org.gradle.api.UncheckedIOException: Failed to create parent directory

akira32 commented 3 weeks ago

On android an error message is displayed when camera access is not allowed. Is it possible for this to happen on ios as well?

Maybe tou can add item in androidmanifest,xml about camera.

akira32 commented 3 weeks ago

On android an error message is displayed when camera access is not allowed. Is it possible for this to happen on ios as well?

The ios app appears the error of DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead when I build the ios app