Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
c72d102
fix: Remove res folder
jcesarmobile Mar 17, 2025
c9398c1
docs(README.md): update default versions
jcesarmobile Mar 18, 2025
3e373b3
GoogleUserMessagingPlatform pinned down to major version 2 (#350)
furrerm Apr 2, 2025
b5c4ba7
chore
rdlabo Apr 2, 2025
1e36c21
7.0.2
rdlabo Apr 2, 2025
ce67650
feat(): migrate docgen
rdlabo Apr 30, 2025
0eb212a
7.0.3
rdlabo Apr 30, 2025
fa4c1b5
fix(android): support edge-to-edge with setOnApplyWindowInsetsListener
rdlabo Jul 13, 2025
e2001c2
feat(): update package version
rdlabo Jul 13, 2025
6390beb
fix: Add missing method to reward interstitials iOS (#351)
d13nunes Jul 13, 2025
f2c60fb
Modified ios BannerExecutor to display bannerView only after bannerVi…
lightning1377 Jul 13, 2025
3fb8265
chore(ci): update node-version to 22
rdlabo Jul 13, 2025
1e0ba0b
Merge branch 'master' of github.com:capacitor-community/admob
rdlabo Jul 13, 2025
552d5ad
7.1.0-0
rdlabo Jul 13, 2025
b98acc3
fix(ios): remove duplication lines
rdlabo Jul 13, 2025
2e68188
7.1.0-1
rdlabo Jul 13, 2025
675ecf2
Fix misleading documentation
nunoarruda Sep 5, 2025
af4f829
y
ingdas Sep 9, 2025
43afb8c
Typo in AdInterstitialExecutor
ingdas Sep 9, 2025
b8e0b88
Typo in AdRewardInterstitialExecutor
ingdas Sep 9, 2025
2790d01
docs: remove original misleading documentation
jcesarmobile Oct 3, 2025
421a34e
fix(ios): Add dependency to GoogleUserMessagingPlatform
jcesarmobile Oct 2, 2025
6538ecc
refactor(ios): Remove iOS 11 code check in BannerExecutor.swift
jcesarmobile Oct 2, 2025
28a2e6c
add user messaging platform
erikczako Feb 10, 2025
3945ead
update readme
erikczako May 15, 2025
c4ec255
added new consent debug geographies
erikczako May 15, 2025
6a57ff5
Added immersive mode for interstitial and reward ads
erikczako Jul 17, 2025
3670b35
separate request consent from showing UMP consent form
Aug 23, 2025
1c1963b
implement UMP for iOS
Aug 23, 2025
34413cf
update README
Aug 23, 2025
51e6b83
upgrade dependencies and fix failing tests
Aug 23, 2025
91f980b
fix verify script
Sep 19, 2025
3dac485
test privacy options form
erikczako Oct 2, 2025
ba188d0
Added immersive mode for interstitial and reward ads
erikczako Jul 17, 2025
486c4c3
update README
Aug 23, 2025
ed9a699
enable validation
erikczako Oct 4, 2025
be7ba2f
Update android/build.gradle
erikczako Oct 5, 2025
14d13d4
added privacy options requirement status response to show consent form
Oct 5, 2025
1dc22ba
chore(deps): bump on-headers and compression in /demo/angular
dependabot[bot] Oct 5, 2025
c4cd32b
chore(deps): bump vite and @angular-devkit/build-angular
dependabot[bot] Oct 5, 2025
90dfa23
fix(android): safe area handling for Android 15+
luisbytes Oct 1, 2025
fbe5b18
fix: downgrade androidxCoreKTXVersion to 1.15.0 for compatibility
luisbytes Oct 10, 2025
303fbec
feat(demo): update angular standalone (#389)
rdlabo Oct 25, 2025
e27dc18
chore(lib): update current version (#388)
rdlabo Oct 25, 2025
4623f27
chore(ios): follow SPM version
rdlabo Oct 25, 2025
673a8c1
7.2.0
rdlabo Oct 25, 2025
8003b39
Merge remote-tracking branch 'upstream/main'
tomkuk Nov 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .cursor/rules/angular-default.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
alwaysApply: true
---

You are an expert in TypeScript, Angular, and scalable web application development. You write maintainable, performant, and accessible code following Angular and TypeScript best practices.

## TypeScript Best Practices

- Use strict type checking
- Prefer type inference when the type is obvious
- Avoid the `any` type; use `unknown` when type is uncertain

## Angular Best Practices

- Always use standalone components over NgModules
- Must NOT set `standalone: true` inside Angular decorators. It's the default.
- Use signals for state management
- Implement lazy loading for feature routes
- Do NOT use the `@HostBinding` and `@HostListener` decorators. Put host bindings inside the `host` object of the `@Component` or `@Directive` decorator instead
- Use `NgOptimizedImage` for all static images.
- `NgOptimizedImage` does not work for inline base64 images.

## Components

- Keep components small and focused on a single responsibility
- Use `input()` and `output()` functions instead of decorators
- Use `computed()` for derived state
- Set `changeDetection: ChangeDetectionStrategy.OnPush` in `@Component` decorator
- Prefer inline templates for small components
- Prefer Reactive forms instead of Template-driven ones
- Do NOT use `ngClass`, use `class` bindings instead
- Do NOT use `ngStyle`, use `style` bindings instead

## State Management

- Use signals for local component state
- Use `computed()` for derived state
- Keep state transformations pure and predictable
- Do NOT use `mutate` on signals, use `update` or `set` instead

## Templates

- Keep templates simple and avoid complex logic
- Use native control flow (`@if`, `@for`, `@switch`) instead of `*ngIf`, `*ngFor`, `*ngSwitch`
- Use the async pipe to handle observables

## Services

- Design services around a single responsibility
- Use the `providedIn: 'root'` option for singleton services
- Use the `inject()` function instead of constructor injection
14 changes: 7 additions & 7 deletions .github/workflows/validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 22
- run: npm install
- run: npm run lint

Expand All @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 22
- run: npm install
- run: npm run lint

Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 22
- run: npm install
- run: npm run verify:web

Expand All @@ -48,15 +48,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
# - run: npm install
# - run: npm run verify:android
node-version: 22
- run: npm install
- run: npm run verify:android

verify-ios:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 22
- run: npm run verify:ios
8 changes: 4 additions & 4 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0"),
.package(url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", from: "11.3.0")
.package(url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", from: "12.12.0"),
.package(url: "https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git", from: "3.0.0")
],
targets: [
.target(
name: "AdMobPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "GoogleMobileAds", package: "swift-package-manager-google-mobile-ads")
.product(name: "GoogleMobileAds", package: "swift-package-manager-google-mobile-ads"),
.product(name: "GoogleUserMessagingPlatform", package: "swift-package-manager-google-user-messaging-platform")
],
path: "ios/Sources/AdMobPlugin"),
.testTarget(
Expand Down
3 changes: 2 additions & 1 deletion QuquplayAdmob.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ Pod::Spec.new do |s|
s.swift_version = '5.1'
s.static_framework = true
s.dependency 'Capacitor'
s.dependency 'Google-Mobile-Ads-SDK', '11.3.0'
s.dependency 'Google-Mobile-Ads-SDK', '12.12.0'
s.dependency 'GoogleUserMessagingPlatform', '3.0.0'
end
Loading