Skip to content

Commit 5722910

Browse files
committed
Initial commit
0 parents  commit 5722910

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1176
-0
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[![Version](https://img.shields.io/badge/version-1.0.1-green.svg)](https://shields.io/)
2+
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)
3+
![Visitors](https://visitor-badge.glitch.me/badge?page_id=1902shubh)
4+
<a href="https://rzp.io/i/szhJHOPQX"> <img src="https://img.shields.io/badge/Donate-Razorpay-green" /></a>
5+
6+
# AdmobOpenAds
7+
Implement admob open ads in your android app.<br/><br/>
8+
<img src="https://user-images.githubusercontent.com/46995327/122922701-8b862b80-d381-11eb-8431-4030ef740f81.jpg" width="250" alt="DEMO"/>
9+
10+
# How to Implement
11+
To get a Git project into your build:
12+
> Step 1. Add the JitPack repository to your build file
13+
14+
Add it in your root build.gradle at the end of repositories: <br/>
15+
```gradle
16+
allprojects {
17+
repositories {
18+
...
19+
maven { url 'https://jitpack.io' }
20+
}
21+
}
22+
```
23+
24+
> Step 2. Add the dependency
25+
26+
Add it in your root app.gradle at the end of repositories: <br/>
27+
```gradle
28+
dependencies {
29+
...
30+
implementation 'com.github.1902shubh:AdmobOpenAds:1.0.1'
31+
...
32+
}
33+
```
34+
35+
# How do I use Admob open Ads
36+
Simple use cases will look something like this:
37+
> Step 1. Create a class like MyApplication.class <br/>
38+
```java
39+
new AppOpenManager(context, "ADMOB_OPEN_ADS_ID");
40+
```
41+
> Step 2. Update menifest
42+
```xml
43+
<application
44+
name=".MyApplication"
45+
...
46+
>
47+
```
48+
49+
<br/>
50+
51+
# Connect With Us
52+
<a href="https://www.youtube.com/papayacoders"> <img src="https://img.shields.io/badge/YouTube-Papaya%20Coders-orange" /></a>
53+
<a href="https://t.me/papaya_coders"> <img src="https://img.shields.io/badge/Telegram-Papaya%20Coders-orange" /></a>
54+
<a href="https://www.instagram.com/papayacoders"> <img src="https://img.shields.io/badge/Instagram-Papaya%20Coders-orange" /></a>
55+
<a href="https://www.twitter.com/papayacoders"> <img src="https://img.shields.io/badge/Twitter-Papaya%20Coders-orange" /></a>
56+
<a href="https://www.linkedin.com/company/papayacoders/"> <img src="https://img.shields.io/badge/LinkedIn-Papaya%20Coders-orange" /></a>
57+
58+
## Made with :sparkling_heart: [Papaya Coders](https://papayacoders.in/) <a href="https://rzp.io/i/szhJHOPQX"> <img src="https://img.shields.io/badge/Donate-Razorpay-green" /></a>
59+

admobopenads/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

admobopenads/build.gradle

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
plugins {
2+
id 'com.android.library'
3+
}
4+
5+
android {
6+
compileSdkVersion 30
7+
buildToolsVersion "30.0.3"
8+
9+
defaultConfig {
10+
minSdkVersion 21
11+
targetSdkVersion 30
12+
versionCode 1
13+
versionName "1.0"
14+
15+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16+
consumerProguardFiles "consumer-rules.pro"
17+
}
18+
19+
buildTypes {
20+
release {
21+
minifyEnabled false
22+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
23+
}
24+
}
25+
compileOptions {
26+
sourceCompatibility JavaVersion.VERSION_1_8
27+
targetCompatibility JavaVersion.VERSION_1_8
28+
}
29+
}
30+
31+
dependencies {
32+
33+
implementation 'androidx.appcompat:appcompat:1.3.0'
34+
implementation 'com.google.android.material:material:1.3.0'
35+
testImplementation 'junit:junit:4.+'
36+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
37+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
38+
39+
40+
implementation 'com.google.android.gms:play-services-ads:20.2.0'
41+
42+
43+
def lifecycle_version = "2.0.0"
44+
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
45+
implementation "androidx.lifecycle:lifecycle-runtime:$lifecycle_version"
46+
annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"
47+
}

0 commit comments

Comments
 (0)