Any reccomendations on tech for an iOS & Android app to automatically track location inside a geofenced area.

I’m thinking swiftUI & jetpack/compose; I only have swiftUI experience; at the mo. Other dev stacks need to support background location and orientation data.