readPhoneState constant

AndroidPermissionDef const readPhoneState

android.permission.READ_PHONE_STATE

Required to access phone state information such as network, SIM, and call status. Runtime permission: true Group: phone Associated service: phone

Implementation

static const readPhoneState = AndroidPermissionDef(
  'android.permission.READ_PHONE_STATE',
  runtime: true,
  group: 'phone',
  service: AssociatedService.phone,
  keywords: {'state', 'identity', 'carrier'},
  docNotes: {
    'Required to access phone state information such as network, SIM, and call status',
  },
);