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

added delegate for the new finish method that's in RN 0.38 which calls the completion handler #277

Merged
merged 9 commits into from
Dec 2, 2017

Conversation

npomfret
Copy link
Contributor

@npomfret
Copy link
Contributor Author

Now that RN 0.38 is released is anyone able to review this PR for me? I use it in production from my fork, as far as I can see its works well.

@npomfret
Copy link
Contributor Author

npomfret commented May 2, 2017

@zo0r hey - would you mind reviewing this? It's a small change, required for iOS only (does nothing on android).

RN38 changed the method thats called when receiving a push notification. The purpose is to add a mechanism that tells the OS that the app has finished processing the notification. I've added a finish() method to the notification as advised in the RN docs.

Without this change, the OS can penalise you app and will stop delivering notifications.

@balazsnemeth
Copy link

balazsnemeth commented May 4, 2017

+1 to merge this @zo0r

@npomfret
Copy link
Contributor Author

@zo0r i've been using this in my app for a while, I think it's safe to merge.

@eddnav
Copy link

eddnav commented Jun 16, 2017

+1 here please @zo0r, I have this monkey patched in my app atm :/

@antonsivogrivov
Copy link

I need it too

@antonsivogrivov
Copy link

@zo0r, what's the problem here to merge this PR?

@zo0r zo0r merged commit 7cdd765 into zo0r:master Dec 2, 2017
@antonsivogrivov
Copy link

@zo0r, thanks and what about npm release?

@eddnav
Copy link

eddnav commented Dec 2, 2017

Thank you! no more monkey patching! I was about to fork this last week and publish it to npm because sometimes I'd forget to remonkey patch 👍

@zo0r
Copy link
Owner

zo0r commented Dec 2, 2017

@tonygriv @eddnav 3.0.2 published to npm

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.

None yet

5 participants