react-native-admob icon indicating copy to clipboard operation
react-native-admob copied to clipboard

Undefined is not an object(evaluating'_react3.default.PropType.shape')

Open krkmzugur opened this issue 8 years ago • 5 comments

Hello;

I've done a lot of research on the subject. I have not reached a conclusion. How can I solve this problem. Thank you.

screenshot_1

package.json


{
  "name": "OlsunBuSefer",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "prop-types": "^15.6.1",
    "react": "16.3.1",
    "react-native": "0.55.3",
    "react-native-admob": "^1.3.2"
  },
  "devDependencies": {
    "babel-jest": "22.4.3",
    "babel-preset-react-native": "4.0.0",
    "jest": "22.4.3",
    "react-test-renderer": "16.3.1"
  },
  "jest": {
    "preset": "react-native"
  }
}

krkmzugur avatar May 07 '18 11:05 krkmzugur

You're using 1.x version of this package. Please upgrade to latest version.

hazeeb avatar May 09 '18 15:05 hazeeb

thanks man. Updated react-native-admob ^2.0.0-beta.5. but show error. RNGADBannerView does not exist. how I do now. ? Thanks.

krkmzugur avatar May 09 '18 20:05 krkmzugur

Android Studio update must. Please upgrade react-native-admob to latest version. Thanks.

krkmzugur avatar May 11 '18 19:05 krkmzugur

I understand you have managed to resolve your issue, so I'm going to close it.

koenpunt avatar May 13 '18 20:05 koenpunt

after upgrading to the newest version, I get this error

TypeError: undefined is not an object (evaluating '_reactNative.UIManager.RNGADBannerView.Constants')

ameshkin avatar Sep 25 '18 16:09 ameshkin