react-native-macos/Libraries/PushNotificationIOS
Ken Tominaga 398595e074 Remove iOS 11 version check (#32151)
Summary:
This pull request aims to remove iOS 11 version check which is no longer needed.

The minimum iOS deployment target for React Native is `iOS 11` but we still have iOS 11 version check like below.

```
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */
        if (available(iOS 11.0, *)) {
```

> React Native apps may target iOS 11.0 and Android 5.0 (API 21) or newer.

ref: https://github.com/facebook/react-native#-requirements

------

If there is a team motivation to remove the deprecated methods and classes before iOS 10, I can continue the work in this pull request or in the continuing pull requests.

We have deprecated warnings for these in the project.

- `UIUserNotificationSettings`
- `UILocalNotification`
- `topLayoutGuide` and `bottomLayoutGuide`
- `automaticallyAdjustsScrollViewInsets`

## Changelog

[iOS] [Changed] - Remove iOS 11 version check

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

Reviewed By: sammy-SC

Differential Revision: D30877917

Pulled By: yungsters

fbshipit-source-id: d903ea5d557beeb65ef87bfce572e4db3532b3c5
2021-09-22 10:37:09 -07:00
..
NativePushNotificationManagerIOS.js Add method to retrieve authorization status 2021-03-30 16:06:39 -07:00
PushNotificationIOS.js Codemod usages of NativeEventEmitter in react-native-github to only pass a native module on iOS 2021-04-12 06:27:20 -07:00
RCTPushNotificationManager.h remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
RCTPushNotificationManager.mm Remove iOS 11 version check (#32151) 2021-09-22 10:37:09 -07:00
RCTPushNotificationPlugins.h Make PushNotificationManager TurboModule-compatible 2019-11-08 14:14:46 -08:00
RCTPushNotificationPlugins.mm Fix crash in RCTCoreModulesClassProvider during quit 2021-04-28 13:29:06 -07:00
React-RCTPushNotification.podspec Link RCT-Folly against libc++abi 2021-09-16 22:24:10 -07:00