admin管理员组

文章数量:1315229

I am using React Native to create a Digital Wellbeing App. I have so far worked on fetching the usage stat. But I am stuck on enabling my app to work on background.

I have tried some packages but they dont work. Is there any way to work on this?

Edit: I am trying to fetch usage time from third party apps. For this, my app should work on background continuously. I will set a certain time for any app, lets say I set 2 hours for my facebook app. After 2 hours of usage my react app should close facebook.

Till now I have used react bg actions and few others.

本文标签: androidHow to enable my react native app to work continuously on backgroundStack Overflow