Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
AtikulSoftware committed Mar 7, 2024
2 parents 45ba6f9 + 4e33b61 commit e4207d9
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<h1 align='center'>Smart Admob Ads</h1>
<p align="center">
<a href="https://github.com/AtikulSoftware/SmartAdmob">
<img src="https://raw.githubusercontent.com/AtikulSoftware/AtikulFiles/main/Smart%20Admob.png" alt="Logo" width="100" height="100">
</a>
<br>
<a href="https://github.com/AtikulSoftware/SmartAdmob"> Watch Video To Implementation Smart Admob Library </a>
</p>

<h1 align='center'>Smart Admob Ads</h1>

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

> Step 2. Add the dependency in `build.gradle`
```
implementation 'com.github.AtikulSoftware:SmartAdmob:1.0'
implementation 'com.github.AtikulSoftware:SmartAdmob:2.0'
implementation 'com.google.android.gms:play-services-ads:22.6.0'
```

Expand Down Expand Up @@ -252,6 +259,19 @@ JAVA CODE-
}).initializeAdmobAd().loadAdmobNativeAd(templateView);
```

## GDPR MESSAGE

```
GDPR gdpr = new GDPR(this);
gdpr.setGDPR();
```

## AD ON / OFF

```
AdmobAdUnit.ADMOB_AD_IS_ON = false;
```

## License

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.
Expand Down

0 comments on commit e4207d9

Please sign in to comment.