sakebook / flutter_native_ads

Show AdMob Native Ads use PlatformView
https://pub.dev/packages/native_ads
Apache License 2.0
66 stars 32 forks source link

Flutter Web support? #52

Open d-apps opened 4 years ago

d-apps commented 4 years ago

In pub.dev the package shows web compatible but there is no explanation about web implementation, I would like to ask if it is or not.

Thank you.

myagizguler commented 4 years ago

In pub.dev the package shows web compatible but there is no explanation about web implementation, I would like to ask if it is or not.

Thank you.

I think it is impossible. You can add adsense ads to your web project.

furkansarihan commented 4 years ago

@myagizguler Did you use adsense with Flutter Web project?

Mine was not accapted due to not enough content.

d-apps commented 4 years ago

@myagizguler Did you use adsense with Flutter Web project?

Mine was not accapted due to not enough content.

At least, "not enought content" doesn't mean that flutter web cannot be accepted.

It seems there two ways to add Adsense to a Flutter Web project, first is just adding the script on index.html directly and the second is using PlatformView, source is here:

https://stackoverflow.com/questions/57909791/is-it-possible-to-insert-google-adsense-at-flutter-web-application https://github.com/flutter/flutter_web/blob/master/examples/html_platform_view/lib/main.dart

The other thing is according to the quesiton below, we can use firebase hosting, address like nameofyoursite.firebaseapp.com, adsense accept it but it only need to get eligible for Adsense (https://support.google.com/adsense/thread/32793263?hl=en).

Question: https://support.google.com/adsense/thread/10831612?hl=en

myagizguler commented 4 years ago

no i did not used any flutter web project

12 Tem 2020 Paz, saat 19:34 tarihinde D-Apps notifications@github.com şunu yazdı:

@myagizguler https://github.com/myagizguler Did you use adsense with Flutter Web project?

Mine was not accapted due to not enough content.

At least, "not enought content" doesn't mean that flutter web cannot be accepted.

It seems there two ways to add Adsense to a Flutter Web project, first is just adding the script on index.html directly and the second is using PlatformView, source is here:

https://stackoverflow.com/questions/57909791/is-it-possible-to-insert-google-adsense-at-flutter-web-application

https://github.com/flutter/flutter_web/blob/master/examples/html_platform_view/lib/main.dart

The other thing is according to the quesiton below, we can use firebase hosting, address like nameofyoursite.firebaseapp.com, adsense accept it but it only need to get eligible for Adsense ( https://support.google.com/adsense/thread/32793263?hl=en).

Question: https://support.google.com/adsense/thread/10831612?hl=en

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sakebook/flutter_native_ads/issues/52#issuecomment-657246034, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLAP3GGRDOOT3CGHAUPDU3R3HQ2XANCNFSM4LWV5BRA .