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

[TIMOB-23960] iOS: Fix unrecognized selector crash when using background-notifications #8437

Merged
merged 1 commit into from Sep 28, 2016

Conversation

rlepinski
Copy link
Contributor

@rlepinski rlepinski commented Sep 27, 2016

JIRA: https://jira.appcelerator.org/browse/TIMOB-23960

If you enable background notifications in iOS it crashes the application when a push is received. It looks like TiApp never implements the method that its forwarding on, so I am guessing its relying on a module to swizzle that method into place.

Discovered this when updating the UA module. We dropped that method because its been deprecated in iOS 8 and we now require background fetch.

@hansemannn
Copy link
Collaborator

hansemannn commented Sep 28, 2016

LGTM! But we need a JIRA-ticket + reproducible test-case in order to integrate the PR. Can you file one? Then I will take care of it, thanks!

EDIT: Added ticket and test-case.

@hansemannn hansemannn changed the title Fix unrecognized selector crash [TIMOB-23960] iOS: Fix unrecognized selector crash when using background-notifications Sep 28, 2016
@hansemannn
Copy link
Collaborator

Approved!

@hansemannn hansemannn merged commit e723828 into tidev:master Sep 28, 2016
@rlepinski
Copy link
Contributor Author

@hansemannn Thanks. I requested a Jira account. Do you still need a ticket + test case?

@hansemannn
Copy link
Collaborator

@rlepinski all done 😊

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

2 participants