WatchOS automatically open the app when starting a workout session from app

I am developing an watchOS app the need to continuously send current Heart Rate to server. To run the app continuously in background I have to start HKWorkoutSession but this open our app each even I kill the app. How can I do it correctly.


Replies

I also developed like getting in background data but the same problem.