Code QuizIntermediate

Comparing Platform.Version on Android

Find why this Android API-level check never returns true.

Codejavascript
import { Platform } from 'react-native';

function supportsScopedStorage() {
  if (Platform.OS === 'android' && Platform.Version === '29') {
    return true;
  }
  return false;
}

This is meant to detect Android API level 29, but it never returns true. What is the bug?