native_ads_flutter

Last updated:

0 purchases

native_ads_flutter Image
native_ads_flutter Images
Add to Cart

Description:

native ads flutter

TODO: Put a short description of the package here that helps potential users know whether this
package might be useful for them.
Author #
PRAGNESH
Get started #
✔️ Native Ads Android
✔️ Native Ads IOS
✔️ Native Ads Banner
✔️ Native Ads Full
AdMOB only supports ads on mobile. Web and desktop are out of reach
✔️ Android
✔️ iOS
Getting started #
TODO: List prerequisites and provide or point to information on how to start using the package.
Getting started #
TODO: Add this to your package's pubspec.yaml file:
dependencies:
native_ads_flutter: "<LATEST_VERSION>"
copied to clipboard
TODO: Install it - You can install packages from the command line:
flutter pub get
copied to clipboard
Android Specific Setup #
Update your AndroidManifest.xml app ads id #
Android: ca-app-pub-3940256099942544~3347511713
iOS: ca-app-pub-3940256099942544~1458002511
copied to clipboard
<manifest>
<application>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511713"/>
</application>
</manifest>
copied to clipboard
iOS Specific Setup #
TODO: Update your Info.plist per Firebase instructions.
<key>GADApplicationIdentifier</key>
<string>ca-app-pub-3940256099942544~1458002511</string>
copied to clipboard
<key>io.flutter.embedded_views_preview</key>
<true/>
copied to clipboard
TODO Using Controller
final _controller = NativeAdmobController();
copied to clipboard
Show Native Ad #
Container(
height: 330,
NativeAdmob(
adUnitID: "<Your ad unit ID>",
loading: Center(child: CircularProgressIndicator()),
error: Text("Failed to load the ad"),
controller: _controller,
type: NativeAdmobType.full,
options: NativeAdmobOptions(
ratingColor: Colors.green,
// Others ...
),
)
)
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.