I'm trying to get access to the camera while the app is in the background (e.g. the phone is locked). As it turns out, Android 9 does not allow to do that unless you are trying to get access using a foreground service. I'm using ionic framework in my application (camera is being accessed using navigator interface). Is there any way to run JS from the foreground service using native plugins or by any other means?
How to access camera in background using ionic capacitor/cordova on Android 9
547 views Asked by Vasniktel At
0
There are 0 answers
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in CORDOVA
- how to get rid of the cordova screen when you open the app
- How to build a codesandbox project to android apk?
- Cordova Android run failed
- Cordova Build issue since version 12.0.0
- cordova-background-geolocation-plugin don't giving any response in cordova android app
- provider duplicate while compiling a Cordova application for the Android platform
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- gradle keeps failing. Cordova run. Vscode
- Cordova plugin splashscreen issue while Azure Devops with ant build using android-cordova application
- Ionic 3 issue while generating AAB file
- Xcode Undefined symbols, Linker command failed with exit code 1 (use -v to see invocation)
- Xcode 15.3 build failed
- Samsung screen zoom ruining my cordova built android app
- command: ionic server Killed 9
Related Questions in IONIC-FRAMEWORK
- Firebase link existing user to anonymous account?
- Ionic Angular Standalone ion-icon are not showing at all
- Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
- How should I filter Observables the "Right Way" with RxJs in Angular 17?
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- <video> tag with downloaded path in ionic ios not loads the video
- How do I record that this ionic checkbox has been checked by the user?
- Ionic 5 angular sharing a component between two modules
- mergeDebugResources FAILED
- Issue saving generated image to local filesystem in iOS using Capacitor
- Detect clickable areas within <img> tag in Ionic project
- Whitelisting Ionic app in Salesforce Org for CORS/CSP
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
Related Questions in CAPACITOR
- Shader rendering problem in capacitor phaserjs in webgl mode
- Ionic/Capacitor: Background Location Tracking on iOS and Android?
- Best Approach for Implementing Video Selection from Gallery/Files in Ionic-React with Capacitor
- Background notification also get muted on removing "sound" from presentationOptions in @capacitor-firebase/messaging?
- Issue saving generated image to local filesystem in iOS using Capacitor
- App Not Installed Package Appears To Be Invalid - Quasar App for Android build with capacitor
- How to Polyfill node core modules in webpack 5 using ionic capacitor angular
- I'm developing an Android, but I can't see my "console.log" in logcat
- Android App Rejected for Background Location Access Using Capacitor Geolocation
- 'Cannot find module 'framework7-vue/bundle' or its corresponding type declarations' on brand new project. What needs to be changed?
- AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type. Request origin: 'capacitor://localhost'
- Different behavior of capacitor-rate-app plugin in android and iOS
- How do I get the Universal Link to redirect to my Capacitor iOS app? SWCErrorDomain error 8
- Angular/Capacitor Mat autocomplete not working on ios
- Create and download a pdf file on the cell phone
Related Questions in OPENVIDU
- Filter For openVidu
- Camera is still turned on when I set publishVideo to false in openvidu
- openvidu connecting from an external network, only the video is not output
- Can not create Video Session using OpenVidu and node
- Is there a way to use OpenVidu in Safari version 8+?
- Openvidu-react-native changes are not visible when using emulator
- OpenVidu with Electron and Angular shows TypeErrors only after packaging the app
- Problems connecting many users on kurento/openvidu
- flutter webrtc remote stream
- How does Flutter project integrate Android native
- Openvidu subscriber volume on android
- Which methods to be called if a screen share leave a OpenVido Session on Android?
- WebRTC android Data Channels aren't connecting. It shows Closing and then closed state
- Error "You don't have docker-compose installed" but 'Docker Compose version v2.3.3' is installed
- How to add openvidu-java-client in gradle project
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)