Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all PushNotificationIOS refrences #30106

Closed

Conversation

yashsoni369
Copy link

Summary

This PR removes all the references of PushNotificationIOS from the application

Changelog

[Lean Core] [cleanup] - Removed the PushNotificationIOS native module from React Native (now lives at https://github.com/react-native-community/push-notification-ios).

Test Plan

Tested by building and running the RNTester app for both Android and iOS to make sure the builds succeed and all the example references are cleanly removed; no issues found.

@facebook-github-bot
Copy link
Contributor

Hi @Yash2737!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@pull-bot
Copy link

pull-bot commented Oct 4, 2020

Messages
📖

📋 Verify Changelog Format - A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

CATEGORY may be:
  • General
  • iOS
  • Android
  • JavaScript
  • Internal (for changes that do not need to be called out in the release notes)

TYPE may be:

  • Added, for new features.
  • Changed, for changes in existing functionality.
  • Deprecated, for soon-to-be removed features.
  • Removed, for now removed features.
  • Fixed, for any bug fixes.
  • Security, in case of vulnerabilities.

MESSAGE may answer "what and why" on a feature level. Use this to briefly tell React Native users about notable changes.

Generated by 🚫 dangerJS against c085f81

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 4, 2020
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,385,801 0
android hermes armeabi-v7a 7,009,021 -4,096
android hermes x86 7,823,917 -4,096
android hermes x86_64 7,717,499 0
android jsc arm64-v8a 9,528,006 -4,096
android jsc armeabi-v7a 9,147,130 0
android jsc x86 9,392,682 -4,096
android jsc x86_64 9,974,392 -4,096

Base commit: 7b7c9f2

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@Simek
Copy link
Collaborator

Simek commented Oct 9, 2020

Duplicate of #30026

@sota000 sota000 added this to Needs Triage in React Native Pull Requests via automation Jul 27, 2021
@yashsoni369
Copy link
Author

yashsoni369 commented Oct 22, 2021

Updated PR, please check
@Simek can it be merged now?

@@ -92,7 +91,7 @@ import typeof RCTDeviceEventEmitter from './Libraries/EventEmitter/RCTDeviceEven
import typeof RCTNativeAppEventEmitter from './Libraries/EventEmitter/RCTNativeAppEventEmitter';
import typeof {RootTagContext} from './Libraries/ReactNative/RootTag';

import type {HostComponent as _HostComponentInternal} from './Libraries/Renderer/shims/ReactNativeTypes';
import type { HostComponent as _HostComponentInternal } from './Libraries/Renderer/shims/ReactNativeTypes';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 94 – Replace ·HostComponent·as·_HostComponentInternal· with HostComponent·as·_HostComponentInternal (prettier/prettier)

@@ -316,10 +315,9 @@ module.exports = {
},
get unstable_batchedUpdates(): $PropertyType<
ReactNative,
'unstable_batchedUpdates',
'unstable_batchedUpdates'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 318 – Insert , (prettier/prettier)

> {
return require('./Libraries/ReactNative/RendererProxy')
.unstable_batchedUpdates;
return require('./Libraries/ReactNative/RendererProxy').unstable_batchedUpdates;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 320 – Insert ⏎······ (prettier/prettier)

@@ -448,8 +446,8 @@ if (__DEV__) {
invariant(
false,
'ListView has been removed from React Native. ' +
'See https://fb.me/nolistview for more information or use ' +
'`deprecated-react-native-listview`.',
'See https://fb.me/nolistview for more information or use ' +

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 449 – Insert ·· (prettier/prettier)

'See https://fb.me/nolistview for more information or use ' +
'`deprecated-react-native-listview`.',
'See https://fb.me/nolistview for more information or use ' +
'`deprecated-react-native-listview`.',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 450 – Insert ·· (prettier/prettier)

@@ -464,8 +462,8 @@ if (__DEV__) {
invariant(
false,
'SwipeableListView has been removed from React Native. ' +
'See https://fb.me/nolistview for more information or use ' +
'`deprecated-react-native-swipeable-listview`.',
'See https://fb.me/nolistview for more information or use ' +

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 465 – Insert ·· (prettier/prettier)

'See https://fb.me/nolistview for more information or use ' +
'`deprecated-react-native-swipeable-listview`.',
'See https://fb.me/nolistview for more information or use ' +
'`deprecated-react-native-swipeable-listview`.',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 466 – Insert ·· (prettier/prettier)

'To get a base64-encoded string from a local image use either of the following third-party libraries:' +
"* expo-file-system: `readAsStringAsync(filepath, 'base64')`" +
"* react-native-fs: `readFile(filepath, 'base64')`",
'To get a base64-encoded string from a local image use either of the following third-party libraries:' +

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 529 – Insert ·· (prettier/prettier)

"* expo-file-system: `readAsStringAsync(filepath, 'base64')`" +
"* react-native-fs: `readFile(filepath, 'base64')`",
'To get a base64-encoded string from a local image use either of the following third-party libraries:' +
"* expo-file-system: `readAsStringAsync(filepath, 'base64')`" +

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 530 – Insert ·· (prettier/prettier)

"* react-native-fs: `readFile(filepath, 'base64')`",
'To get a base64-encoded string from a local image use either of the following third-party libraries:' +
"* expo-file-system: `readAsStringAsync(filepath, 'base64')`" +
"* react-native-fs: `readFile(filepath, 'base64')`",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 🚫 index.js line 531 – Insert ·· (prettier/prettier)

@github-actions
Copy link

Fails
🚫

📋 Verify Changelog Format - A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

CATEGORY may be:
  • General
  • iOS
  • Android
  • JavaScript
  • Internal (for changes that do not need to be called out in the release notes)

TYPE may be:

  • Added, for new features.
  • Changed, for changes in existing functionality.
  • Deprecated, for soon-to-be removed features.
  • Removed, for now removed features.
  • Fixed, for any bug fixes.
  • Security, in case of vulnerabilities.

MESSAGE may answer "what and why" on a feature level. Use this to briefly tell React Native users about notable changes.

Generated by 🚫 dangerJS against bf38260

@github-actions
Copy link

github-actions bot commented Aug 9, 2023

This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 9, 2023
@github-actions
Copy link

This PR was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants