startTracking method
Implementation
@override
Future<void> startTracking() async {
try {
await methodChannel.invokeMethod('startTracking');
} on PlatformException catch (e) {
if (e.code == 'OVERLAY_PERMISSION_NEEDED') {
debugPrint('[Trackiva] Overlay permission needed. Settings opened.');
rethrow;
}
rethrow;
}
}