Skip to content

Conversation

@zhongwuzw
Copy link
Contributor

Summary

Fixes #25767 .

Changelog

[iOS] [Fixed] - Don't call sharedApplication in App Extension

Test Plan

RN works in App Extension.

@zhongwuzw zhongwuzw requested a review from cpojer July 22, 2019 14:50
@zhongwuzw zhongwuzw requested a review from shergin as a code owner July 22, 2019 14:50
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 22, 2019
@sammy-SC
Copy link
Contributor

The test failures look legit, would you mind looking into it? Thank you.

@zhongwuzw
Copy link
Contributor Author

@sammy-SC Emm, could you please list which test may related about this PR?

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a 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.

@sammy-SC
Copy link
Contributor

@zhongwuzw my apologies :) the failures seem to be unrelated.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @zhongwuzw in c5ea18f.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jul 26, 2019
grabbou pushed a commit that referenced this pull request Aug 7, 2019
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
@ccorcos
Copy link
Contributor

ccorcos commented Aug 15, 2019

@ccorcos
Copy link
Contributor

ccorcos commented Aug 15, 2019

@zhongwuzw @sammy-SC can you check this one out? #26077

facebook-github-bot pushed a commit that referenced this pull request Aug 19, 2019
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
lnikkila pushed a commit to Boulevard/react-native that referenced this pull request Mar 6, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API: Share Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Platform: iOS iOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build fails for iOS (RN 0.60.3) with an App extension

5 participants