reset static method

  1. @visibleForTesting
void reset()

Forces a refresh of the cached version (useful for testing).

This should rarely be needed in production code.

Implementation

@visibleForTesting
static void reset() {
  _cachedIOSVersion = null;
  _cachedMacOSVersion = null;
  _isInitialized = false;
}