checkPermission(permission: string) : Promise<boolean> {
    console.warn('"PermissionsAndroid.checkPermission" is deprecated. Use "PermissionsAndroid.check" instead');
    return NativeModules.PermissionsAndroid.checkPermission(permission);
  }
DEPRECATED - use check

Returns a promise resolving to a boolean value as to whether the specified
permissions has been granted

@deprecated