Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

How to execute a function once in a day?

$
0
0

@varun13 wrote:

Hi I am creating an ionic app in which I want to show number of days.
ex: If user is installed app today and opens on first day it will show 1 and opens on 10th day it should show 10.
For that I need to execute function once every 24 hours.I tried setInterval in angularJs but it is not working when we close the app(I mean kill the app) .
Help me in this issue. I am learning ionic and angularJs everyday Please bear with me If I am asking a silly question

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>