getCanReportToSentry function
Implementation
Future<bool> getCanReportToSentry() async {
final prefs = await sharedPrefs();
final value = prefs.getBool(canReportSentry);
if (value == null) return isNightly; // on nightly, we are default on
return value;
}