Skip to main content
Using truemetrics Flutter plugin could be easier. See here more on how it works To use this plugin, just add truemetrics_flutter_sdk as a dependency in your pubspec.yaml file:
Google Play foreground-service declaration: the underlying native SDK’s recording service declares the location and dataSync foreground-service types (previously location + specialUse). In the Play Console foreground-service-types form, declare “Location” and “Data sync” for the Truemetrics recording service. If your existing declaration listed “Special use”, replace it with “Data sync” (keep “Location”).
Go for the initialize of the SDK
perform start recording
or Log metadata
and finally stop recording
and you are done, was easy right :)