Skip to content

[IOS] Fix crash app when opening notification - #1

Open
cuestalvaro wants to merge 1 commit into
v5.x.xfrom
ac/v5.6.0
Open

[IOS] Fix crash app when opening notification#1
cuestalvaro wants to merge 1 commit into
v5.x.xfrom
ac/v5.6.0

Conversation

@cuestalvaro

Copy link
Copy Markdown
Owner

Description

Related issues

Release Summary

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan


Think react-native-firebase is great? Please consider supporting the project with any of the below:

@cuestalvaro cuestalvaro changed the title fix crash app IOS [IOS] Fix crash app when opening notification Jul 20, 2022
@cuestalvaro cuestalvaro added the bug Something isn't working label Jul 20, 2022

@alvaroscuesta alvaroscuesta left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

.

void(^completionHandler)(void) = completionHandlers[handlerKey];
if (completionHandler != nil) {
completionHandlers[handlerKey] = nil;
completionHandler();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think this line should not be deleted, because it would cause the app to crash

@cuestalvaro
cuestalvaro marked this pull request as draft July 20, 2022 20:45
@cuestalvaro
cuestalvaro marked this pull request as ready for review July 20, 2022 20:48
@cuestalvaro
cuestalvaro marked this pull request as draft July 20, 2022 20:49
@cuestalvaro
cuestalvaro marked this pull request as ready for review July 20, 2022 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants