Future<bool> isGoogleFitInstalled() async { try { final isAppEnabled = await AppCheck.isAppEnabled(googleFit); return isAppEnabled; } catch (e) { return false; } }