-
Notifications
You must be signed in to change notification settings - Fork 532
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
Undefined is not an object(reactNative.View.PropType.style') #391
Comments
I am facing the same issue, did you find a solution? |
Step-1. Add below line at top in node-modules/react-native-admob/RNAdmobBanner.js and RNPublisherBanner.js import PropTypes from "prop-types"; Step-2. Delete these line from both file(May be line no is 48 and 50 respective) style: View.propTypes.style note: style property of AdmobBanner is not working at all so you can delete this because this is creating issue. Step-3. Change this words in both file React.PropTypes ===> to ===> PropTypes old Content=> bannerSize: React.PropTypes.string, new content should be like this=> bannerSize: PropTypes.string, |
Actually using latest version of admob solved it. |
please send version |
what I did was:
|
I just tried to implement it (v.1.3.2) and still facing this exception for interstitial Ads, but in fact it seems this is triggered on the momment of Import - how to handle it? |
Also still facing this issue. |
The text was updated successfully, but these errors were encountered: