Skip to content

[MOB-9962] Migrate to NativeEventEmitter #924

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

Merged
merged 9 commits into from
Mar 2, 2023

Conversation

a7medev
Copy link
Contributor

@a7medev a7medev commented Feb 20, 2023

Description of the change

  • Migrate the current IBGEventEmitter which uses the old NativeAppEventEmitter and DeviceEventEmitter to the new NativeEventEmitter which requires each module to have its own event emitter so the way we use emitter got restructured.

  • Eliminate NetworkLogger's event emitters usage by using callbacks.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Issue links go here

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests

Code review

  • This pull request has a descriptive title and information useful to a reviewer
  • Issue from task tracker has a link to this pull request

@a7medev a7medev changed the base branch from master to dev February 20, 2023 11:08
@a7medev a7medev requested review from TheBuggedYRN and DavidMina96 and removed request for TheBuggedYRN February 20, 2023 11:08
@a7medev a7medev self-assigned this Feb 20, 2023
@a7medev a7medev force-pushed the refactor/migrate-event-emitter branch from d2ea5aa to ad58a69 Compare February 20, 2023 11:23
@a7medev a7medev changed the base branch from dev to chore/update-react-native February 20, 2023 11:23
@InstabugCI
Copy link
Collaborator

1 Warning
⚠️ You have not included a CHANGELOG entry!
You can find it at CHANGELOG.md.

Generated by 🚫 Danger

@a7medev a7medev force-pushed the chore/update-react-native branch from e27126d to 33c93dc Compare February 21, 2023 07:17
@a7medev a7medev force-pushed the refactor/migrate-event-emitter branch from 3b18a02 to 504aff7 Compare February 21, 2023 07:17
Base automatically changed from chore/update-react-native to dev February 23, 2023 10:50
@a7medev a7medev force-pushed the refactor/migrate-event-emitter branch from f0fff28 to 7a31551 Compare March 1, 2023 13:50
@a7medev a7medev changed the base branch from dev to refactor/restructure-native March 1, 2023 13:51
@a7medev a7medev force-pushed the refactor/restructure-native branch from 18da13f to 39c9caa Compare March 1, 2023 15:40
@a7medev a7medev force-pushed the refactor/migrate-event-emitter branch from fad603c to fd1c16a Compare March 1, 2023 15:43
@TheBuggedYRN TheBuggedYRN changed the title [MOB-9962] Replace Deprecated Emitters with NativeEventEmitter [MOB-9962] Migrate to NativeEventEmitter Mar 2, 2023
Base automatically changed from refactor/restructure-native to dev March 2, 2023 08:38
@a7medev a7medev force-pushed the refactor/migrate-event-emitter branch from fd1c16a to 7c4f2e8 Compare March 2, 2023 11:38
@a7medev a7medev requested a review from TheBuggedYRN March 2, 2023 11:42
@a7medev a7medev merged commit 0f48f89 into dev Mar 2, 2023
@a7medev a7medev deleted the refactor/migrate-event-emitter branch March 2, 2023 12:00
HeshamMegid pushed a commit that referenced this pull request Apr 20, 2023
* Migrate the current IBGEventEmitter which uses the old NativeAppEventEmitter and DeviceEventEmitter to the new NativeEventEmitter which requires each module to have its own event emitter so the way we use emitter got restructured.

* Eliminate NetworkLogger's event emitters usage by using callbacks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants