Closed jasan-s closed 2 months ago
This plug-in fires a callback periodically according to the minimumFetchInterval.
What you do in that callback is up to you.
@jasan-s was this library actually help you to change wallpaper on time even when app is killed?
even when app is killed?
the iOS platform does not fire background-fetch events after app terminate, only Android can.
Hi thank you for answer :) I am asking only for android I don't need IOS for my case.
One thing that is not clear to me is that background-fetch event will trigger every around 15min in what circumstances it will not trigger?
I also need to change wallpaper on android once in a day. And I think this library is bingo but need to be sure that it will execute in away I need it. Appreciate your support :)
what circumstances it will not trigger?
I don’t know. The plug-in uses Android’s WorkManager
api. It’s totally up to the OS.
do your own testing and let the demo app run for a week. It stores received events in persistent storage.
Your Environment
react-native -v
): latestExpected Behavior
Update Android wallpaper every 15 minutes, even if user closed app.
Context
I want to change user wallpaper every 15 minutes, would this lib allow be to set wallpaper that I fetch every 15 minutes? This is def a question and not a bug report.
Debug logs