Reputation: 60
I am developing in flutter a stock market alert app that checks in the background a certain stock price and send a push notification. I used the background_fetch library but that is only able to fetch the price every 15 minutes, and have some reliability issues on ios. Therefore, I was wondering if there was another way to implement the same feature.
Upvotes: 0
Views: 544
Reputation: 1084
You can try android_alarm_manager package from pub dev, but it is only available for (you guessed it) android. This will solve the 15 min frequency I hope it works for you. On a side note I also need a function to run when user enters a geofence when app is on background and I still haven't found a solution. Because in my problem it shouldn't run every x minutes but when sth is triggered.
Upvotes: 1
Reputation: 309
there is this answer of a similar question but on IOS but it work the similar way on android hope this help and i am sorry for this negative answer :(
Upvotes: 1