checkRequirements method

bool checkRequirements()

Helper function to check browser compatibility and device requirements.

Implementation

bool checkRequirements() {
  String userAgent = getPlatformVersion() ?? 'Unknown platform version';

  bool isCompatible = isBrowserCompatible(userAgent) && isMobileDevice();
  return isCompatible;
}