Location Background

Hi! I’m a beginner in software development, and I’m try to learn Expo, so I try to made an app using Location and track, but I had an issue when I try to use the background location, I didn’t understand how to use the Task manager, where i have tu put the code, how to call the functions… If someone can help me I’ll be thankful.