Hi everyone! Does anyone here have experience usin...
# ios
n
Hi everyone! Does anyone here have experience using the BGTaskScheduler with BGAppRefreshTaskRequest in kotlin for IOS? Im able to submit a task and register its handler too using .registerForTaskWithIdentifier , but the task never runs unless i force it to run using XCode's simulate function. Any help is much appreciated 1
j
did you add identifier to info.plist?
Screenshot 2025-01-15 at 18.27.40.png
(ah, I guess you probably did if the simulate option worked)
n
yeah ive followed all the possible instructions but still havent been able to get the task to run without forcing it to manually
j
you might have seen it already but following has good example of using those APIs https://github.com/chrisbanes/tivi
n
Ill check it out, thank you!