notifyUserConfirmation()

in appcenter-crashes/Crashes.js [75:90]


    notifyUserConfirmation(userConfirmation) {
        switch (userConfirmation) {
            case UserConfirmation.DONT_SEND:
            case UserConfirmation.SEND:
            case UserConfirmation.ALWAYS_SEND:
                AppCenterReactNativeCrashes.notifyWithUserConfirmation(userConfirmation);
                break;

            default:
                AppCenterLog.error(LOG_TAG, 'Crashes.notifyUserConfirmation: Invalid parameter value.');
                return;
        }
        if (userConfirmation !== UserConfirmation.DONT_SEND) {
            Helper.sendErrorAttachments();
        }
    },