react-native-macos/Libraries
vincent-paing 0a854c7c8b feat: Add permission introduced in Android 13 (#33471)
Summary:
Android 13 introduces two new permission,
- [NEARBY_WIFI_DEVICES](https://developer.android.com/about/versions/13/features/nearby-wifi-devices-permission) for scanning nearby wifi devices.
- [POST_NOTIFICATIONS](https://developer.android.com/about/versions/13/changes/notification-permission) for posting notifications.

This PR adds all the new permission (as of this PR creation) in Android 13.

## Changelog

[Android] [Added] - Add POST_NOTIFICATIONS, NEARBY_WIFI_DEVICES permission

Pull Request resolved: https://github.com/facebook/react-native/pull/33471

Test Plan:
```
PermissionsAndroid.POST_NOTIFICATIONS === 'android.permission.POST_NOTIFICATIONS'
PermissionsAndroid.NEARBY_WIFI_DEVICES === 'android.permission.NEARBY_WIFI_DEVICES'
```

Reviewed By: cortinico

Differential Revision: D35080683

Pulled By: GijsWeterings

fbshipit-source-id: cd5ba7f519feb77f939d5076ef414a01357329ab
2022-06-01 09:11:39 -07:00
..
ActionSheetIOS bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
Alert Add annotations to empty objects that look like indexers in Xplat 2022-05-03 19:59:28 -07:00
Animated Presuppress xplat and upgrade to 0.178.1 2022-05-26 12:59:52 -07:00
AppState fix: remove deprecated removeListener methods (#33580) 2022-05-04 11:32:51 -07:00
BatchedBridge Add more information to JavaScript module not registered as callable error message 2022-05-25 13:21:08 -07:00
Blob bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
BugReporting Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Components Fixed Textinput not properly handling padding and paddingVertical in style props (#33564) 2022-05-17 03:26:34 -07:00
Core Remove nonstandard Promise.prototype.done implementation 2022-05-05 03:55:10 -07:00
EventEmitter fix: remove deprecated removeListener methods (#33580) 2022-05-04 11:32:51 -07:00
Events CustomEvent and Event polyfills for React Native 2022-03-02 11:39:00 -08:00
FBLazyVector Fixup typo in pfh labels 2022-04-05 12:15:05 -07:00
HeapCapture Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Image Lock down constrain writes in some directories 2022-05-06 15:53:13 -07:00
Inspector Add annotations to empty objects that look like indexers in Xplat 2022-05-03 19:59:28 -07:00
Interaction Add annotations to unannotated variable declarations [manually-modified] 2022-04-27 19:15:55 -07:00
JSInspector Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
LayoutAnimation Refactor LayoutAnimation to use ReactNativeFeatureFlags 2022-02-18 18:23:00 -08:00
Linking fix: remove deprecated removeListener methods (#33580) 2022-05-04 11:32:51 -07:00
LinkingIOS bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
Lists Presuppress xplat and upgrade to 0.178.1 2022-05-26 12:59:52 -07:00
LogBox Presuppress xplat and upgrade to 0.178.1 2022-05-26 12:59:52 -07:00
Modal Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
NativeAnimation Batch Animated calls into one JSI call per frame 2022-05-17 16:42:41 -07:00
NativeComponent Fix up lint errors under react-native-github (#33622) 2022-04-22 16:25:25 -07:00
NativeModules/specs Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Network Remove babel plugins from jest preprocessor which are part of preset 2022-05-12 03:48:24 -07:00
NewAppScreen Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Performance Presuppress xplat and upgrade to 0.178.1 2022-05-26 12:59:52 -07:00
PermissionsAndroid feat: Add permission introduced in Android 13 (#33471) 2022-06-01 09:11:39 -07:00
Pressability Fill out w3c pointer event types 2022-05-19 18:48:24 -07:00
PushNotificationIOS Update RCTPushNotificationManager checkPermissions API to support iOS 10+ 2022-04-06 20:15:22 -07:00
RCTRequired Fixup typo in pfh labels 2022-04-05 12:15:05 -07:00
ReactNative Batch Animated calls into one JSI call per frame 2022-05-17 16:42:41 -07:00
ReactPrivate CustomEvent and Event polyfills for React Native 2022-03-02 11:39:00 -08:00
Reliability Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Renderer Add a note about React/React-Native versioning 2022-05-17 14:49:00 -07:00
Settings bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
Share Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Storage Add annotations to empty objects that look like indexers in Xplat 2022-05-03 19:59:28 -07:00
StyleSheet Presuppress xplat and upgrade to 0.178.1 2022-05-26 12:59:52 -07:00
SurfaceBackedComponent 5/n Allow CKComponents to embed Fabric surfaces 2022-03-29 11:52:49 -07:00
SurfaceHostingComponent 5/n Allow CKComponents to embed Fabric surfaces 2022-03-29 11:52:49 -07:00
Text Codemod arvr to use onPointer* instead of onEnter/onExit/onMove 2022-04-05 07:11:10 -07:00
TurboModule Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
TypeSafety Remove folly import in GenerateModuleObjCpp 2022-03-22 17:10:18 -07:00
Types Fill out w3c pointer event types 2022-05-19 18:48:24 -07:00
Utilities Move ReactNativeTestTools-test to github 2022-05-23 06:15:08 -07:00
Vibration bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
WebSocket Fixes to non-product code (e.g React Native) 2022-05-04 16:13:07 -07:00
Wrapper Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
YellowBox Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
__flowtests__ Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
vendor RN: Delete `EventEmitter#removeSubscription` 2022-05-05 12:55:00 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
Promise.js Remove nonstandard Promise.prototype.done implementation 2022-05-05 03:55:10 -07:00
UTFSequence.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
promiseRejectionTrackingOptions.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00