private void storeInSharedPreferences() {
        Log.d(TAG, "Store notification in SharedPreferences" +
            ", notificationId=" + options.getId() +
            ", occurrence=" + triggerhandler.getOccurrence() +
            ", triggerDate=" + triggerhandler.getTriggerDate() +
            ", triggerBaseDate=" + triggerhandler.getBaseDate() +
            ", options=" + options);
        
        Manager.getSharedPreferences(context).edit()
        // options as JSON string
        .putString(getSharedPreferencesKeyOptions(), options.toString())
        // occurrence for restoration
        .putInt(getSharedPreferencesKeyOccurrence(), triggerhandler.getOccurrence())
        // trigger base date for restoration
        .putLong(getSharedPreferencesKeyTriggerBaseDate(), triggerhandler.getBaseDate().getTime())
        // calculated triggerDate for restoration
        .putLong(getSharedPreferencesKeyTriggerDate(), triggerhandler.getTriggerDate().getTime())
        .apply();
    }
Stores the information of this notification in the SharedPreferences.
This will allow the application to restore the notification upon device reboot,
app restart, retrieve notifications, etc.
src/android/Notification.java