Ionic 5 I want to make an app that is play sound for 10 minutes in any way I just want sound for 10 minutes but the problem is when the app is terminated. I tried local notification with alarm. I am success to play sound but the problem is I was not able to play sound for 10 minutes repeatedly
i want to make app that is play sound on schedule with ionic 5
394 Views Asked by Vivek Shukla At
1
There are 1 best solutions below
Related Questions in ANGULAR
- Is it possible to use ES5 JavaScript with Angular 2 instead of TypeScript?
- Module '"angular2/angular2"' has no exported member 'For'
- import syntax in typescript creating another js file in visual studio
- Separate ts file for imports
- How to use an AngularJS 2 component multiple times in the same page?
- injectables not working in angular 2.0 latest build 26
- Does angular2 bootstrap have a way to dynamically target elements like it does in angular 1.x
- Import {} from location is not found in VS Code using TypeScript and Angular 2
- Angular 2/Typescript: require not found
- ng-switch in Angular2
- Angular 2 import issue: "Zone already exported on window the object!"
- How to make FileReader work with Angular2?
- Writing the most basic Unit test in Angular 2?
- Angular2: Creating child components programmatically
- AngularJS - TypeError: Cannot read property 'canonicalUrl' of undefined
Related Questions in IONIC-FRAMEWORK
- CFBundleDocumentType is not working in myproject-Info.plist file
- ionic build android failure - Execution failed for task processDebugResources
- Android Status Bar Icon Size - Using Cordova / Phonegap Push Plugin
- how to show alert when user scroll to top of div in angular js?
- ionic serve uncaught exception
- Parse.com - setting up push notifications for single users
- Understanding the function of this particular 9 patch image
- CORS in ionic app and django
- How to use embedded Ruby HTML files with Ionic and Cordova
- Ionic cordova build
- Input ng-model not updating in Main view
- ng-click event not getting cleared in Ionic app
- How to show image caption in ionicframework?
- whitelisting a domain in ionic app
- Adding visionmedia/debug to an Ionic/AngularJS application
Related Questions in IONIC4
- ionic2: how to customize popover width?
- Is there any way to set the wifi permission programatically for iOS using ionic?
- inlineSVG disappears on navigation in ionic
- Unable to display json data in Ionic 4 ANGULAR
- Cannot set background Image in IonCard Ionic4- React
- How to manipulate / clear cookies with Capacitor Browser plugin
- Changes to the property not appearing in template on real device
- How to conditionally set height in ionic?
- How to install Algolia search in Ionic / Angular
- Android localhost: "Unknown error when fetching script." for Firebase Messaging ServiceWorker
- How to conditionally expand element according to height of its content in ionic?
- How to add underline under selected segment in ionic?
- Openfire XMPP Client Connection via Ionic App
- Change color of item on click Angular
- Ionic package build failed - ionic angular toolkit
Related Questions in ANGULAR9
- Angular 2+ NGXS: state is undefined in directive notwithstanding the state defaults
- Add Tooltip When Ellipsis Directive to Angular Material Select
- Declare(register) a component in a module dynamically when that component is lazy loaded in angular 9
- Can child route path(s) work in an Auxiliary / Secondary route in Angular 9 routing?
- download a file when link clicked in angular 9?
- Is there a #define in angular?
- Format the date in Angular 9 with small letter h at the end of the date
- Firebase Realtime Database: limit SignIn users to write N times / duration
- Angular Material Autocomplete and API Objects
- Changes to the property not appearing in template on real device
- Screen to view time slots for a particular date in Angular
- How to change Row Index Number of p-table on clicking change event of paginator in primeNg
- HammerJS in Angular 9 pinchin pinchout text is not selectable
- In an angular 9 app, what should be more preferred; global styles or component level styles
- Fix angular http upgrade ionic
Related Questions in IONIC5
- Ionic 5 - HTML view
- Interpolate style in angular won't work (Ionic 5)
- IONIC ignore network_security_config.xml because wanted to get data from different server
- Ionic 5 Animate change width of columns
- When I click on Tab more than once the back button works incorrectly
- Ion-select does not show selected option when value is an object type
- How do I add a new Item in @ViewChildren list by making api call?
- Problem with show dynamic values depend on language
- Multiple ion-slides in loop not providing correct index on slides
- Navigation issue with CanDeactivate guard in Ionic 5
- Ionic Application is not navigating to proper page
- Image not slide on pager dots click ionic 5
- Ionic 5, Vue 3 - How to use Ionic lifecycle hooks inside setup()?
- i want to make app that is play sound on schedule with ionic 5
- Ionic 4/ 5 - Remove cached data, when i revisit the same screen again
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)
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?
You can do it as mentioned here if you are using capacitor: https://capacitorjs.com/docs/apis/background-task
However, this will risk the app being terminated, and being labeled as impacting battery life as you won't finish the task.
The best option is to have a Backend service that will send push notifications every 10 minutes. In this way, OS will handle the notification instead of the app in the background.
You can have more info on how to integrate Push Notifications here: https://www.freecodecamp.org/news/how-to-get-push-notifications-working-with-ionic-4-and-firebase-ad87cc92394e/