Skip to content

Commit

Permalink
Updated Google Ads sdk.
Browse files Browse the repository at this point in the history
  • Loading branch information
jigar-f committed Dec 29, 2023
1 parent c07603f commit 0c235df
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 39 deletions.
4 changes: 2 additions & 2 deletions android/app/libs/liblantern-all.aar
Git LFS file not shown
48 changes: 24 additions & 24 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,50 +69,50 @@ PODS:
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- Google-Mobile-Ads-SDK (10.4.0):
- Google-Mobile-Ads-SDK (10.11.0):
- GoogleAppMeasurement (< 11.0, >= 7.0)
- GoogleUserMessagingPlatform (>= 1.1)
- google_mobile_ads (1.0.0):
- Flutter
- Google-Mobile-Ads-SDK (~> 10.4.0)
- Google-Mobile-Ads-SDK (~> 10.11.0)
- webview_flutter_wkwebview
- GoogleAppMeasurement (10.15.0):
- GoogleAppMeasurement/AdIdSupport (= 10.15.0)
- GoogleAppMeasurement (10.19.0):
- GoogleAppMeasurement/AdIdSupport (= 10.19.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (10.15.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.15.0)
- GoogleAppMeasurement/AdIdSupport (10.19.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.19.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/WithoutAdIdSupport (10.15.0):
- GoogleAppMeasurement/WithoutAdIdSupport (10.19.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleUserMessagingPlatform (2.1.0)
- GoogleUtilities/AppDelegateSwizzler (7.11.5):
- GoogleUtilities/AppDelegateSwizzler (7.12.0):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.11.5):
- GoogleUtilities/Environment (7.12.0):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.11.5):
- GoogleUtilities/Logger (7.12.0):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (7.11.5):
- GoogleUtilities/MethodSwizzler (7.12.0):
- GoogleUtilities/Logger
- GoogleUtilities/Network (7.11.5):
- GoogleUtilities/Network (7.12.0):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.11.5)"
- GoogleUtilities/Reachability (7.11.5):
- "GoogleUtilities/NSData+zlib (7.12.0)"
- GoogleUtilities/Reachability (7.12.0):
- GoogleUtilities/Logger
- integration_test (0.0.1):
- Flutter
Expand All @@ -129,11 +129,11 @@ PODS:
- libwebp/webp (1.3.2):
- libwebp/sharpyuv
- MTBBarcodeScanner (5.0.11)
- nanopb (2.30909.0):
- nanopb/decode (= 2.30909.0)
- nanopb/encode (= 2.30909.0)
- nanopb/decode (2.30909.0)
- nanopb/encode (2.30909.0)
- nanopb (2.30909.1):
- nanopb/decode (= 2.30909.1)
- nanopb/encode (= 2.30909.1)
- nanopb/decode (2.30909.1)
- nanopb/encode (2.30909.1)
- OrderedSet (5.0.0)
- package_info_plus (0.4.5):
- Flutter
Expand Down Expand Up @@ -312,15 +312,15 @@ SPEC CHECKSUMS:
flutter_uploader: 2b07c4d41cf1218f25e6d5b8bcfa2d913838e27c
fluttertoast: 31b00dabfa7fb7bacd9e7dbee580d7a2ff4bf265
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
Google-Mobile-Ads-SDK: 32fe7836431a06a29f7734ae092b600137c8108d
google_mobile_ads: 53b1f0d74445963e5810e34ac38dfb27aabe278e
GoogleAppMeasurement: 722db6550d1e6d552b08398b69a975ac61039338
Google-Mobile-Ads-SDK: 58b4fda3f9758fc1ed210aa5cf7777b5eb55d47e
google_mobile_ads: 511febb4768edc860ee455a9e201ff52de385908
GoogleAppMeasurement: 68afe759316673c6554dac35a0c7ae8f5d6cb4ed
GoogleUserMessagingPlatform: dce302b8f1b84d6e945812ee7a15c3f65a102cbf
GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34
integration_test: 13825b8a9334a850581300559b8839134b124670
libwebp: 1786c9f4ff8a279e4dac1e8f385004d5fc253009
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
Expand Down
3 changes: 1 addition & 2 deletions lib/vpn/vpn_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ class _VPNSwitchState extends State<VPNSwitch> {
Widget build(BuildContext context) {
return sessionModel
.shouldShowGoogleAds((context, isGoogleAdsEnable, child) {
print('googleAds $isGoogleAdsEnable');
return sessionModel.shouldShowCASAds((context, isCasAdsEnable, child) {
adHelper.loadAds(
shouldShowGoogleAds: true,
shouldShowGoogleAds: isGoogleAdsEnable,
shouldShowCASAds: isCasAdsEnable);
return Transform.scale(
scale: 2,
Expand Down
12 changes: 2 additions & 10 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -707,10 +707,10 @@ packages:
dependency: "direct main"
description:
name: google_mobile_ads
sha256: "24ee4e9546866cc15ebe565dabf6a6c485ce5fbec0645fde22799800532000f0"
sha256: d2ef5ec1e1f31137fc241bdeab3037c31062d387dd221fd884fb1160444c788b
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
graphs:
dependency: transitive
description:
Expand Down Expand Up @@ -1665,14 +1665,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.5.3"
visibility_detector:
dependency: transitive
description:
name: visibility_detector
sha256: "15c54a459ec2c17b4705450483f3d5a2858e733aee893dcee9d75fd04814940d"
url: "https://pub.dev"
source: hosted
version: "0.3.3"
vm_service:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ dependencies:
flutter_markdown: ^0.6.17+1

# Ads
google_mobile_ads: ^3.0.0
google_mobile_ads: ^4.0.0
clever_ads_solutions: ^0.2.2
retry: ^3.1.2

Expand Down

0 comments on commit 0c235df

Please sign in to comment.