code: private void initializeUserStoreAndCheckVersion() throws Exception {
  
      int i = 0;
      String version = com.evernote.edam.userstore.Constants.EDAM_VERSION_MAJOR + "."
          + com.evernote.edam.userstore.Constants.EDAM_VERSION_MINOR;
  
      for (String url : mBootstrapServerUrls) {
        i++;
        try {
          EvernoteUserStoreClient userStoreClient = mEvernoteSession.getEvernoteClientFactory().getUserStoreClient(getUserStoreUrl(url), null);
  
          if (!userStoreClient.checkVersion(EvernoteUtil.generateUserAgentString(mEvernoteSession.getApplicationContext()),
                  com.evernote.edam.userstore.Constants.EDAM_VERSION_MAJOR,
                  com.evernote.edam.userstore.Constants.EDAM_VERSION_MINOR)) {
            throw new ClientUnsupportedException(version);
          }
  
          mBootstrapServerUsed = url;
          return;
        } catch (ClientUnsupportedException cue) {
  
          Log.e(LOGTAG, "Invalid Version", cue);
          throw cue;
        } catch (Exception e) {
          if (i < mBootstrapServerUrls.size()) {
            Log.e(LOGTAG, "Error contacting bootstrap server=" + url, e);
          } else {
            throw e;
          }
        }
      }
    }
docs: Initialized the User Store to check for supported version of the API.
  
  @throws ClientUnsupportedException on unsupported version
  @throws Exception on generic errors