From 245a065ac747cf16f0aeb66741862e230d086036 Mon Sep 17 00:00:00 2001 From: airkjw Date: Sat, 13 Jun 2026 13:40:23 +0900 Subject: [PATCH] build: add AdMob/IAP/ATT plugins and native ad config (test ids) Co-Authored-By: Claude Sonnet 4.6 --- android/app/src/main/AndroidManifest.xml | 3 + ios/Runner/Info.plist | 11 +++ pubspec.lock | 90 +++++++++++++++++++++++- pubspec.yaml | 3 + 4 files changed, 106 insertions(+), 1 deletion(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index b1a3831..f329b63 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -25,6 +25,9 @@ + UIApplicationSupportsIndirectInputEvents + GADApplicationIdentifier + ca-app-pub-3940256099942544~1458002511 + NSUserTrackingUsageDescription + We use this to show ads that are more relevant to you. You can play fully either way. + SKAdNetworkItems + + + SKAdNetworkIdentifier + cstr6suwn9.skadnetwork + + diff --git a/pubspec.lock b/pubspec.lock index ee4d828..afa215b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -25,6 +25,14 @@ packages: url: "https://pub.dev" source: hosted version: "7.7.1" + app_tracking_transparency: + dependency: "direct main" + description: + name: app_tracking_transparency + sha256: "3a52669c0645ffd7efe9a460047616de3e3f2128338f9ec7cdb681628d36238e" + url: "https://pub.dev" + source: hosted + version: "2.0.7" args: dependency: transitive description: @@ -301,6 +309,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.3" + google_mobile_ads: + dependency: "direct main" + description: + name: google_mobile_ads + sha256: f35e040875bb54e8a3455bcffed3b4ac9e9263fbf7751b9fd1ae7f30793faee8 + url: "https://pub.dev" + source: hosted + version: "7.0.0" http: dependency: "direct main" description: @@ -325,6 +341,38 @@ packages: url: "https://pub.dev" source: hosted version: "4.1.2" + in_app_purchase: + dependency: "direct main" + description: + name: in_app_purchase + sha256: "5cddd7f463f3bddb1d37a72b95066e840d5822d66291331d7f8f05ce32c24b6c" + url: "https://pub.dev" + source: hosted + version: "3.2.3" + in_app_purchase_android: + dependency: transitive + description: + name: in_app_purchase_android + sha256: "634bee4734b17fe55f370f0ac07a22431a9666e0f3a870c6d20350856e8bbf71" + url: "https://pub.dev" + source: hosted + version: "0.4.0+10" + in_app_purchase_platform_interface: + dependency: transitive + description: + name: in_app_purchase_platform_interface + sha256: "1d353d38251da5b9fea6635c0ebfc6bb17a2d28d0e86ea5e083bf64244f1fb4c" + url: "https://pub.dev" + source: hosted + version: "1.4.0" + in_app_purchase_storekit: + dependency: transitive + description: + name: in_app_purchase_storekit + sha256: "1d512809edd9f12ff88fce4596a13a18134e2499013f4d6a8894b04699363c93" + url: "https://pub.dev" + source: hosted + version: "0.4.8+1" intl: dependency: transitive description: @@ -349,6 +397,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.7.2" + json_annotation: + dependency: transitive + description: + name: json_annotation + sha256: "2a743920d81b7910627f68ee2c9ac1fc0bfee32b9fc3403587d7c6791ca12f80" + url: "https://pub.dev" + source: hosted + version: "4.12.0" leak_tracker: dependency: transitive description: @@ -794,6 +850,38 @@ packages: url: "https://pub.dev" source: hosted version: "1.2.1" + webview_flutter: + dependency: transitive + description: + name: webview_flutter + sha256: a3da219916aba44947d3a5478b1927876a09781174b5a2b67fa5be0555154bf9 + url: "https://pub.dev" + source: hosted + version: "4.13.1" + webview_flutter_android: + dependency: transitive + description: + name: webview_flutter_android + sha256: ad5182eff9a550925330cb9f0cb038eddfdd5712aba8b77aa0f0400e50f6e688 + url: "https://pub.dev" + source: hosted + version: "4.12.0" + webview_flutter_platform_interface: + dependency: transitive + description: + name: webview_flutter_platform_interface + sha256: "1221c1b12f5278791042f2ec2841743784cf25c5a644e23d6680e5d718824f04" + url: "https://pub.dev" + source: hosted + version: "2.15.1" + webview_flutter_wkwebview: + dependency: transitive + description: + name: webview_flutter_wkwebview + sha256: e50cd97ad28e888f6a4f862a05eab917a635417f9b134df64c3abb78250c6446 + url: "https://pub.dev" + source: hosted + version: "3.25.0" xdg_directories: dependency: transitive description: @@ -812,4 +900,4 @@ packages: version: "3.1.3" sdks: dart: ">=3.9.2 <4.0.0" - flutter: ">=3.35.0" + flutter: ">=3.35.1" diff --git a/pubspec.yaml b/pubspec.yaml index cd828c2..c3ad09a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -44,6 +44,9 @@ dependencies: path_provider: ^2.1.5 firebase_core: ^4.10.0 firebase_analytics: ^12.4.2 + google_mobile_ads: ^7.0.0 + in_app_purchase: ^3.2.3 + app_tracking_transparency: ^2.0.7 dev_dependencies: flutter_test: