markFirstOpenDelivered static method

Future<void> markFirstOpenDelivered()

Mark first_open as delivered (called after HTTP 200 for batch containing first_open).

Implementation

static Future<void> markFirstOpenDelivered() async {
  await Prefs.setBool(_isSentKey, true);
  await Prefs.remove(_pendingDurableKey);
  await Prefs.remove(_pendingLocallyStoredKey);
  await Prefs.remove(_pendingCompatibilityStateKey);
  await Prefs.remove(_pendingInstallDiffKey);
}