Skip to content

Commit 5a2ef6b

Browse files
committedMay 8, 2020
Fix link bug
1 parent b6f2e77 commit 5a2ef6b

4 files changed

+8
-4
lines changed
 

‎_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ description: >- # this means to ignore newlines until "baseurl:"
2626
baseurl: "/myblog" # the subpath of your site, e.g. /blog
2727
url: "https://sleepingkit.github.io" # the base hostname & protocol for your site, e.g. http://example.com
2828
github_username: sleepingkit
29-
author: sleepingkit
29+
name: sleepingkit
3030
search: true
3131
search_full_content: true
3232
# Conversion

‎_posts/2020-05-08-flutter-google-admob.markdown

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
2-
title: "Displaying Ads in your Flutter Apps $_$!"
2+
title: "Displaying Ads in your Flutter Apps $_$!"
33
last_modified_at: 2020-05-08 00:00:00 +0800
44
categories:
55
- flutter
66
- android
7+
- admob
78
---
89
## Create Google Admob ID
910

@@ -97,7 +98,7 @@ myBanner.dispose()
9798

9899
## Add InterstitialAd
99100

100-
Basically same as BannerAd, you can check the [firebase_admob]('https://pub.dev/packages/firebase_admob') document directly.
101+
Basically same as BannerAd, you can check the [firebase_admob] document directly.
101102

102103

103104
## Add RewardedVideoAd
@@ -130,9 +131,12 @@ RewardedVideoAd.instance.listener =
130131
```
131132

132133
## Add NativeAd
133-
Native ad can insert into anywhere you like, but I will use another package [flutter_native_admob](https://pub.dev/packages/flutter_native_admob). This is much easier to use.
134+
Native ad can insert into anywhere you like, but I will use another package [flutter_native_admob]. This is much easier to use.
134135

135136
Follow the insturction of the package you will add the native ad easily. The only things I want to mention is that this native ad package will cause **RuntimeException: FlutterJNI.ensureAttachedToNative**. But this seems nothing happens to the app, so never mind? Tell me if it cause some bug in your app.
136137

137138
## Attention
138139
- You may find that ads **cannot show** when you are using your own ID just created. Don't worry, this is because you have not set up your build release setting. [Singing your app](https://flutter.dev/docs/deployment/android#signing-the-app) and see if it works.
140+
141+
142+
[flutter_native_admob]: https://pub.dev/packages/flutter_native_admob
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.