Navigation Menu

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 facebook-ads.md to be more accurate #3331

Merged
merged 1 commit into from Jan 25, 2019
Merged

Conversation

stevenpal
Copy link
Contributor

Based on the code, it looks like you need to include both AdMediaView and AdIconView to be able to trigger the ad. Updated the "Note" and modified the code example to demonstrate that.

Why

The documentation doesn't match what the code is actually doing. I discovered this in the process of investigating another issue:

https://forums.expo.io/t/getting-error-got-unexpected-null-when-navigating-away-from-screen-with-facebook-native-ad/18612

How

Updated the documentation.

Test Plan

N/A

Based on the code, it looks like you need to include both AdMediaView and AdIconView to be able to trigger the ad.  Updated the "Note" and modified the code example to demonstrate that.
@ide ide merged commit 65a6d35 into expo:master Jan 25, 2019
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