-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[iOS] Don't call sharedApplication in App Extension #25769
Conversation
The test failures look legit, would you mind looking into it? Thank you. |
@sammy-SC Emm, could you please list which test may related about this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sammy-SC has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@zhongwuzw my apologies :) the failures seem to be unrelated. |
This pull request was successfully merged by @zhongwuzw in c5ea18f. When will my fix make it into a release? | Upcoming Releases |
Summary: Fixes #25767 . ## Changelog [iOS] [Fixed] - Don't call sharedApplication in App Extension Pull Request resolved: #25769 Test Plan: RN works in App Extension. Reviewed By: cpojer Differential Revision: D16516104 Pulled By: sammy-SC fbshipit-source-id: 446fd1d88724b783b2afb2369783b9a85b5cc178
I have the same issue with this line here: |
@zhongwuzw @sammy-SC can you check this one out? #26077 |
Summary: Related to this bug: #25769 Note I also had to add to the bottom of my podfile because RCTLinking had APPLICATION_EXTENSION_API_ONLY='YES' by default somehow. ``` post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO' end end end ``` Pull Request resolved: #26077 Test Plan: Sandcastle should be sufficient. Reviewed By: shergin Differential Revision: D16860356 Pulled By: sammy-SC fbshipit-source-id: 02cb3fd3f977420ccdc2991f0c3666ab0186b7bf
Summary: Related to this bug: facebook#25769 Note I also had to add to the bottom of my podfile because RCTLinking had APPLICATION_EXTENSION_API_ONLY='YES' by default somehow. ``` post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO' end end end ``` Pull Request resolved: facebook#26077 Test Plan: Sandcastle should be sufficient. Reviewed By: shergin Differential Revision: D16860356 Pulled By: sammy-SC fbshipit-source-id: 02cb3fd3f977420ccdc2991f0c3666ab0186b7bf
Summary
Fixes #25767 .
Changelog
[iOS] [Fixed] - Don't call sharedApplication in App Extension
Test Plan
RN works in App Extension.