package io.hansel.react;

import com.facebook.react.bridge.ReactApplicationContext;

//import io.hansel.react.BuildConfig;
import io.hansel.core.logger.HSLLogger;



public class HanselVersionValidatorRn {

    private ReactApplicationContext reactContext;
    private boolean versionWarningChecked;

    public HanselVersionValidatorRn(ReactApplicationContext reactContext) {
        this.reactContext = reactContext;
    }

    public void validateVersion(String currentJSVersion) {
//         if (!versionWarningChecked) {
//             if (!io.hansel.BuildConfig.HANSEL_JS_VERSION.equals(currentJSVersion)) {
// //                HSLLogger.wMin(" Older version of Hansel.js found. Please upgrade to version "
// //                        + io.hansel.BuildConfig.HANSEL_JS_VERSION + " from "
// //                        + BuildConfig.HANSEl_JS_FILE_HELP_DOC_URL
// //                        + " to avoid Runtime Exceptions");
//             }
//             versionWarningChecked = true;
//         }
    }
}
