Skip to content

Commit e4207d9

Browse files
Merge remote-tracking branch 'origin/main'
2 parents 45ba6f9 + 4e33b61 commit e4207d9

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
<h1 align='center'>Smart Admob Ads</h1>
1+
<p align="center">
2+
<a href="https://github.com/AtikulSoftware/SmartAdmob">
3+
<img src="https://raw.githubusercontent.com/AtikulSoftware/AtikulFiles/main/Smart%20Admob.png" alt="Logo" width="100" height="100">
4+
</a>
5+
<br>
6+
<a href="https://github.com/AtikulSoftware/SmartAdmob"> Watch Video To Implementation Smart Admob Library </a>
7+
</p>
28

9+
<h1 align='center'>Smart Admob Ads</h1>
310

411
> 1. Add it in your root `settings.gradle` at the end of repositories
512
```
@@ -9,7 +16,7 @@
916

1017
> Step 2. Add the dependency in `build.gradle`
1118
```
12-
implementation 'com.github.AtikulSoftware:SmartAdmob:1.0'
19+
implementation 'com.github.AtikulSoftware:SmartAdmob:2.0'
1320
implementation 'com.google.android.gms:play-services-ads:22.6.0'
1421
```
1522

@@ -252,6 +259,19 @@ JAVA CODE-
252259
}).initializeAdmobAd().loadAdmobNativeAd(templateView);
253260
```
254261

262+
## GDPR MESSAGE
263+
264+
```
265+
GDPR gdpr = new GDPR(this);
266+
gdpr.setGDPR();
267+
```
268+
269+
## AD ON / OFF
270+
271+
```
272+
AdmobAdUnit.ADMOB_AD_IS_ON = false;
273+
```
274+
255275
## License
256276

257277
Distributed under the MIT License. See [LICENSE]([https://github.com/AtikulSoftware/smart-slider/blob/main/LICENSE.md](https://github.com/AtikulSoftware/SmartAdmob/blob/main/LICENSE)) for more information.

0 commit comments

Comments
 (0)