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

Update AdSupportIOS.js #12657

Closed
wants to merge 6 commits into from
Closed

Update AdSupportIOS.js #12657

wants to merge 6 commits into from

Conversation

kwef
Copy link
Contributor

@kwef kwef commented Mar 2, 2017

Looks like RN unlinked the RCTAdSupport module from the React project because it triggers some automatic detection from Apple. (from this thread #1303). So this includes the instructions to manually add RCTAdSupport files from node_modules.

See: #12623

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact cla@fb.com if you have any questions.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Mar 2, 2017
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

*
* Before using this you must link the `RCTAdSupport` library. In
* Xcode, you can manually add the RCTAdSupport.m and RCTAdSupport.h files from
* node_modules/react-native/Libraries/AdSupport/ to the Libraries/React/Base/ folder of

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

* because it triggers an automatic detection from Apple on submission to the App Store
* to justify its use.
*
* Before using this you must link the `RCTAdSupport` library. In

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

/**
* `AdSupport` provides access to the advertisingidentifier. It's not currently linked
* because it triggers an automatic detection from Apple on submission to the App Store
* to justify its use.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

@@ -11,6 +11,20 @@
*/
'use strict';

/**
* `AdSupport` provides access to the advertisingidentifier. It's not currently linked

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

@@ -11,6 +11,20 @@
*/
'use strict';

/**
* `AdSupport` provides access to the advertisingidentifier. It's not currently linked
* because it triggers an automatic detection from Apple on submission to the App Store

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

* `AdSupport` provides access to the advertisingidentifier. It's not currently linked
* because it triggers an automatic detection from Apple on submission to the App Store
* to justify its use.
*

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

Remove trailing spaecs
@hramos
Copy link
Contributor

hramos commented Mar 15, 2017

Do you have a test plan? Specifically I'd like to know if you built the website and verified this renders properly.

@mkonicek
Copy link
Contributor

needs-revision because of missing test plan. In this case a screenshot would be fine. Try:

cd website; npm install; npm start

@kwef
Copy link
Contributor Author

kwef commented Mar 17, 2017

Test plan
screen shot 2017-03-17 at 11 52 02 am

@facebook-github-bot facebook-github-bot added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Apr 27, 2017
@facebook-github-bot
Copy link
Contributor

@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

* You can refer to [Linking](docs/linking-libraries-ios.html) for help.
*
*/

module.exports = {
getAdvertisingId: function(onSuccess: Function, onFailure: Function) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

* of your current project.
*
* You can refer to [Linking](docs/linking-libraries-ios.html) for help.
*

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

* You can refer to [Linking](docs/linking-libraries-ios.html) for help.
*
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no-trailing-spaces: Trailing spaces not allowed.

@facebook-github-bot facebook-github-bot removed the Import Started This pull request has been imported. This does not imply the PR has been approved. label Apr 28, 2017
@facebook-github-bot
Copy link
Contributor

I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification.

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Apr 28, 2017
@facebook-github-bot
Copy link
Contributor

@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

thotegowda pushed a commit to thotegowda/react-native that referenced this pull request May 7, 2017
Summary:
Looks like RN unlinked the RCTAdSupport module from the React project because it triggers some automatic detection from Apple. (from this thread facebook#1303). So this includes the instructions to manually add RCTAdSupport files from node_modules.

See: facebook#12623
Closes facebook#12657

Differential Revision: D4962321

Pulled By: hramos

fbshipit-source-id: ed9aed3b4c16e72d1f9557f5c16fcdadfdd743ea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants