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

Not documented AdSupportIOS #12623

Closed
kwef opened this issue Feb 28, 2017 · 6 comments
Closed

Not documented AdSupportIOS #12623

kwef opened this issue Feb 28, 2017 · 6 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@kwef
Copy link
Contributor

kwef commented Feb 28, 2017

Description

I had to add the RCTAdSupport.h and RCTAdSupport.m files to XCode to manually link to react native in order to get AdSupportIOS to stop throwing "undefined is not an object.... ". There ought to be better documentation for this.

  • React Native version: [0.41.2]
  • Platform: [iOS]
  • Operating System: [MacOs]
@hramos
Copy link
Contributor

hramos commented Feb 28, 2017

Can you elaborate?

@kwef
Copy link
Contributor Author

kwef commented Mar 1, 2017

Sure. In order to get AdSupportIOS to work, I had to manually add files to Xcode. I feel like this wasn't clear that it was required to somehow manually link files, as the documentation about AdSupportIOS currently says nothing about this: https://facebook.github.io/react-native/docs/adsupportios.html.

@hramos
Copy link
Contributor

hramos commented Mar 1, 2017

Would you be willing to open a PR to add the necessary steps missing from that file?

Otherwise, can you comment on this issue with the exact list of steps you had to take in order to use AdSupportIOS.

@kwef
Copy link
Contributor Author

kwef commented Mar 1, 2017

I can open a PR. Where's the best place/file to do that?

@hramos
Copy link
Contributor

hramos commented Mar 1, 2017

You would need to add comments to the source file at https://github.com/facebook/react-native/blob/master/Libraries/AdSupport/AdSupportIOS.js. You can take a look at other APIs to see how these comments should be formatted.

@kwef
Copy link
Contributor Author

kwef commented Mar 3, 2017 via email

facebook-github-bot pushed a commit that referenced this issue Apr 28, 2017
Summary:
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
Closes #12657

Differential Revision: D4962321

Pulled By: hramos

fbshipit-source-id: ed9aed3b4c16e72d1f9557f5c16fcdadfdd743ea
thotegowda pushed a commit to thotegowda/react-native that referenced this issue 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
@javache javache closed this as completed Jul 7, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jul 9, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants