I got Cannot read property 'startSession' of undefined
pathawee opened this issue · comments
I use
"react": "~15.3.0",
"react-native": "^0.34.0",
"react-native-revmob": "^9.2.1",
I ran on android simulator (genymotion) and I got Cannot read property 'startSession' of undefined
For ios simulator nothing happen (No ads display) Seem like startSession not call
RevMobManager.startSession(this.ads_app_id, function revMobStartSessionCb(err){
if(!err) RevMobManager.loadCustomBanner(0, 200, 100, 200); // Load custom banner if session starts successfully.
})```
Solution on RevMob's forum thread