objective c - Can React-Native run a background task in IOS -


desired spec: react native app queries healthkit data , posts db

building react-native app query user's healthkit data intermittently.

aware can't interact healthkit while phone unlocked.

this thread how can run background tasks in react native? tells me such functionality isn't possible rn.

however, in context of starting background-timer. i'd app perform following steps

  1. query healthkit data # of steps
  2. post data db

questions

  1. is possible react native without writing kind of native bridge? (swift seems have capability somehow)

  2. if not possible without writing bridge, accessing native pedometer?


Comments

Popular posts from this blog

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

java - ConcurrentModificationException upon committing transaction with Hibernate -

java - Not entering the success part of http response in angularjs using spring mvc -