isGameSupported function

bool isGameSupported(
  1. int sdkInt,
  2. bool multiProcessEnabled
)

Whether a game may open at all on Android: API 26 and up, plus a multi-process WebView. Pure predicate so unit tests can drive it without a device. iOS uses isGameSupportedIos.

Implementation

bool isGameSupported(int sdkInt, bool multiProcessEnabled) =>
    sdkInt >= 26 && multiProcessEnabled;