From f22646d2c01f33719f7f64fe4420592a0a39aade Mon Sep 17 00:00:00 2001 From: smartDev420 Date: Fri, 28 Jun 2019 11:14:33 -0700 Subject: [PATCH] [change] Remove PushNotificationIOS Ref #1352 Ref https://github.com/facebook/react-native/issues/23313 --- packages/babel-plugin-react-native-web/src/moduleMap.js | 1 - .../react-native-web/src/exports/PushNotificationIOS/index.js | 1 - packages/react-native-web/src/index.js | 2 -- 3 files changed, 4 deletions(-) delete mode 100644 packages/react-native-web/src/exports/PushNotificationIOS/index.js diff --git a/packages/babel-plugin-react-native-web/src/moduleMap.js b/packages/babel-plugin-react-native-web/src/moduleMap.js index fc9c6c32..f23f9905 100644 --- a/packages/babel-plugin-react-native-web/src/moduleMap.js +++ b/packages/babel-plugin-react-native-web/src/moduleMap.js @@ -37,7 +37,6 @@ module.exports = { Platform: true, PointPropType: true, ProgressBar: true, - PushNotificationIOS: true, RefreshControl: true, SafeAreaView: true, ScrollView: true, diff --git a/packages/react-native-web/src/exports/PushNotificationIOS/index.js b/packages/react-native-web/src/exports/PushNotificationIOS/index.js deleted file mode 100644 index ff8b4c56..00000000 --- a/packages/react-native-web/src/exports/PushNotificationIOS/index.js +++ /dev/null @@ -1 +0,0 @@ -export default {}; diff --git a/packages/react-native-web/src/index.js b/packages/react-native-web/src/index.js index 4dcf1854..ed42d46e 100644 --- a/packages/react-native-web/src/index.js +++ b/packages/react-native-web/src/index.js @@ -80,7 +80,6 @@ import ViewPagerAndroid from './exports/ViewPagerAndroid'; import WebView from './exports/WebView'; // compat (apis) import PermissionsAndroid from './exports/PermissionsAndroid'; -import PushNotificationIOS from './exports/PushNotificationIOS'; import Settings from './exports/Settings'; import StatusBarIOS from './exports/StatusBarIOS'; import Systrace from './exports/Systrace'; @@ -172,7 +171,6 @@ export { WebView, // compat (apis) PermissionsAndroid, - PushNotificationIOS, Settings, StatusBarIOS, Systrace,