clearPushHistory

open fun clearPushHistory()

Clears the push notification history.

This method removes all stored push notifications from the history. Usually called after processing the history retrieved via getPushHistory. Example:


  // Get and process push history
  List<PushMessage> history = Pushwoosh.getInstance().getPushHistory();
  processHistory(history);

  // Clear history after processing
  Pushwoosh.getInstance().clearPushHistory();