Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

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

Merged
zo0r merged 9 commits into
zo0r:masterfrom
npomfret:master
Dec 2, 2017
Merged

added delegate for the new finish method that's in RN 0.38 which calls the completion handler#277
zo0r merged 9 commits into
zo0r:masterfrom
npomfret:master

Conversation

@npomfret

Copy link
Copy Markdown
Contributor

@npomfret

Copy link
Copy Markdown
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

npomfret commented May 2, 2017

Copy link
Copy Markdown
Contributor Author

@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

balazsnemeth commented May 4, 2017

Copy link
Copy Markdown

+1 to merge this @zo0r

@npomfret

Copy link
Copy Markdown
Contributor Author

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

@eddnav

eddnav commented Jun 16, 2017

Copy link
Copy Markdown

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

@antonsivogrivov

Copy link
Copy Markdown

I need it too

@antonsivogrivov

Copy link
Copy Markdown

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

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

Copy link
Copy Markdown

@zo0r, thanks and what about npm release?

@eddnav

eddnav commented Dec 2, 2017

Copy link
Copy Markdown

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

zo0r commented Dec 2, 2017

Copy link
Copy Markdown
Owner

@tonygriv @eddnav 3.0.2 published to npm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants