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

ITS NOT WORKING IN ANDROID #1

Open
johndig0027 opened this issue Sep 3, 2020 · 9 comments
Open

ITS NOT WORKING IN ANDROID #1

johndig0027 opened this issue Sep 3, 2020 · 9 comments

Comments

@johndig0027
Copy link

Hi Team,
This lib is working perfectly for ios but, i dont know whats the issue... in android its showing me 404 not found page. Could you help me regarding same.

@shukerullah
Copy link
Owner

Hi @johndig0027
Can share your code if you don't mind and is it working with sample ad units?

@rahulnakate
Copy link

rahulnakate commented Sep 7, 2020

yes, I have tried with your sample add unit, its working perfectly in ios , but in android i dont know whats the issue. Even you sample also not working in android, Code is nothing different than what you have given.
<GooglePublisherTag adUnitId="/6499/example/APIDemo/AdSizes" adUnitSize="[[320, 50]]" baseUrl="https://your-domain.com" adUnitTargeting={{ interest: "basketball", }} />

Dont know whats the issue? Could you help me out for this? even you can refer this, i have tried with direct WebView but still same problem is there
https://github.com/react-native-community/react-native-webview/issues/1027

@shukerullah
Copy link
Owner

Hi @rahulnakate,

What baseUrl are you passing? Use your own domain or remove it.

@rahulnakate
Copy link

rahulnakate commented Sep 7, 2020

Yes i have tried with my own URL as well as removing url , but still same issue is there. But in ios its working perfectly. Dont know whats the issue in android only. its showing blank only

@shukerullah
Copy link
Owner

shukerullah commented Sep 7, 2020

Just tested on a new project. It's working fine. Here is screenshot:
Screen Shot 2020-09-07 at 5 08 19 PM

Production Screenshot:
WhatsApp Image 2020-09-07 at 5 10 33 PM

You can also check in this live app

@rahulnakate
Copy link

rahulnakate commented Sep 7, 2020

OHH...THATS GREAT !!! But here i have tried it on my project it giving same issue. may i know what react-native-webview version you are using also possible please tel me whats the react native version. Below are the my version details

 "react-native-webview": "^7.0.5",
"react": "16.8.6",
"react-native": "0.60.5", 

Also i have added my Screen shotss
android_screenshots
Screenshot 2020-09-07 at 7 02 43 PM

But In ios its work perfectly

Simulator Screen Shot - iPhone SE (2nd generation) - 2020-09-07 at 19 02 58

@glopezs18
Copy link

glopezs18 commented Oct 6, 2022

Did you manage to resolve this issue? I'm new to this and I'm trying to do the same thing but I'm getting the same problem

@shukerullah
Copy link
Owner

Did you manage to resolve this issue? I'm new to this and I'm trying to do the same thing but I'm getting the same problem

What react-native version and webview are you using? What baseUrl are you passing?

@glopezs18
Copy link

glopezs18 commented Oct 12, 2022

This is the version I'm using

Captura de Pantalla 2022-10-12 a la(s) 10 27 44
Captura de Pantalla 2022-10-12 a la(s) 10 28 25

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

No branches or pull requests

4 participants