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

Ads not showing in release apk

Open chaoxolution opened this issue 5 years ago • 26 comments

while testing on emulator, ads were showing but after i made a signed release apk ads are not showing. Code is same as before..please help..

<AdMobBanner adSize="smartBanner" adUnitID="ca-app-pub-************/2424988888" testDevices={[AdMobBanner.simulatorId]} onAdFailedToLoad={error => console.error(error)} />

chaoxolution avatar Jul 23 '18 11:07 chaoxolution

Having same issue, i'm using expo admob implementation. Admobrewarded works fine in dev mode, but when using release apk it stops working.

rexdogi avatar Jul 25 '18 20:07 rexdogi

I have the same issue here:

  • I'm using the create-react-native-app scripts
  • The project isn't expo ejected
  • The app is built using: exp build:android --config app.json

A portion of package.json:

"devDependencies": {
    "react-native-scripts": "1.14.0",
    "jest-expo": "~27.0.0",
    "react-test-renderer": "16.3.1"
  },
  "main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
  "scripts": {
    "start": "react-native-scripts start",
    "eject": "react-native-scripts eject",
    "android": "react-native-scripts android",
    "ios": "react-native-scripts ios",
    "test": "jest"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "expo": "^29.0.0",
    "react": "^16.3.1",
    "react-native": "~0.55.2",
    "react-native-admob": "^2.0.0-beta.5",
    "react-router-native": "^4.3.0"
  }

Legend96th avatar Aug 11 '18 21:08 Legend96th

Same problem.

Ad is show up on emulator (Genymotion) but not on real device (debug.apk) !

anhhtz avatar Aug 12 '18 15:08 anhhtz

This is caused by not setting the AppID most likely, there is no way to set it currently on this lib

nfacha avatar Sep 24 '18 14:09 nfacha

anyone solve this issue?

vision669 avatar Dec 01 '18 00:12 vision669

same problem!

nqtuyen92 avatar Dec 05 '18 02:12 nqtuyen92

Me too ?

vnlebaoduy avatar Dec 21 '18 11:12 vnlebaoduy

same problem

mudi256 avatar Dec 28 '18 20:12 mudi256

Same problem

agungvr avatar Jan 02 '19 19:01 agungvr

Same problem

haishangshijie avatar Jan 10 '19 07:01 haishangshijie

having the same issue here. admob banner is displayed in dev environment, but in build it is not showing.

EDIT: Don't know if this would help, but my problem got solved (atleast partially). Didn't do anything but wait. waited for 25 mins before the first ad showed up, and gradually 3-4 came up.

NeelakantanS avatar Jan 11 '19 10:01 NeelakantanS

On your device, check that Limit Ad Tracking is not enabled:

Settings -> Privacy -> Advertising

kenkotch avatar Jan 26 '19 16:01 kenkotch

troubleshoot below:

a) test ad id - test ad should load b) wrong ad id - no ad should on load (nothing should show), wrong id can be '1111111' c) real ad id - real ad should NOT load locally (nothing should show, since it not uploaded) d) real ad id - real ad should load after uploading to google play (after 4 hours or so, after upload)

Anuskhan avatar Nov 08 '19 09:11 Anuskhan

Ads only work on emulator. They don't work in signed apk for some reason. Does this mean that ads will appear when app deployed to play store/app store?

ghost avatar Feb 10 '20 11:02 ghost

Same issue .Ads is showing on emulator but it does not showing in release apk. Did you solve this problem?

grkemtneri avatar Feb 13 '20 22:02 grkemtneri

Same problem.. ads were showing in debug apk but not in release apk.. NOTE : I have generated separate apk for different architectures... not a universal apk

Sanan4li avatar Mar 03 '20 15:03 Sanan4li

Same problem here! Ads shows on Emulator but no in release apk. I'm using react-native-admob

mdabarik avatar Mar 08 '20 12:03 mdabarik

Same problem here! Ads shows on Emulator but no in release apk. I'm using react-native-admob

Did you signed the app? I had same problem but now my ads are showing..

Sanan4li avatar Mar 08 '20 13:03 Sanan4li

I think if apk release not upload to google play store, The Ads cannot displayed in Release Apk.

rismandev avatar Mar 16 '20 12:03 rismandev

In my case i`m use Publisher Banner to Ad Manager. The test show normal but in production not show anything. someone can helpme?

fernandopascoalbr avatar May 19 '20 12:05 fernandopascoalbr

In my case i`m use Publisher Banner to Ad Manager. The test show normal but in production not show anything. someone can helpme? If your app is signed and you are having the issue in admob.. check this comment https://github.com/sbugert/react-native-admob/issues/507#issuecomment-597298909

Sanan4li avatar May 19 '20 14:05 Sanan4li

In my case the ads shows in release apk but when i uploaded it to playstore the ads wont show. I have no clue where to debug

basurahan avatar Dec 26 '20 00:12 basurahan

In my case the ads shows in release apk but when i uploaded it to playstore the ads wont show. I have no clue where to debug

you found any solution ?

Edwinvalerio avatar Feb 14 '21 16:02 Edwinvalerio

same issue no luck yet

freakk101 avatar Apr 05 '22 09:04 freakk101

Hey, Any update there, same issue here.

udaykiranchenna2 avatar Oct 07 '22 19:10 udaykiranchenna2

Some here😥please solve this

Dablu77 avatar Feb 14 '24 10:02 Dablu77