最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - How to enable my react native app to work continuously on background? - Stack Overflow

programmeradmin3浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论