Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Ads Plausible Event #1004

Merged
merged 2 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 0 additions & 6 deletions lib/ad_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ class AdHelper {
},
onAdShowedFullScreenContent: (ad) {
logger.i('[Ads Manager] Showing Ads');
sessionModel.trackUserAction('User shown interstitial ad',
'http://google.com', 'google');
},
onAdFailedToShowFullScreenContent: (ad, error) {
logger.i(
Expand All @@ -134,14 +132,10 @@ class AdHelper {
);
_interstitialAd = ad;
logger.i('[Ads Manager] to loaded $ad');
sessionModel.trackUserAction(
'Interstitial ad loaded', 'http://google.com', 'google');
},
onAdFailedToLoad: (err) {
_failedLoadAttempts++; // increment the count on failure
logger.i('[Ads Manager] failed to load $err');
sessionModel.trackUserAction('Interstitial ad failed to load',
'http://google.com', 'google');
_postShowingAds();
},
),
Expand Down
1 change: 0 additions & 1 deletion lib/common/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart';
export 'package:flutter_localizations/flutter_localizations.dart';
export 'package:flutter_svg/flutter_svg.dart';
export 'package:flutter_switch/flutter_switch.dart';
export 'package:google_fonts/google_fonts.dart';
export 'package:i18n_extension/i18n_widget.dart';
export 'package:lantern/core/router/router.gr.dart';
export 'package:lantern/event_extension.dart';
Expand Down
28 changes: 10 additions & 18 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -783,14 +783,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.2"
google_fonts:
dependency: "direct main"
description:
name: google_fonts
sha256: f0b8d115a13ecf827013ec9fc883390ccc0e87a96ed5347a3114cac177ef18e8
url: "https://pub.dev"
source: hosted
version: "6.1.0"
google_mobile_ads:
dependency: "direct main"
description:
Expand Down Expand Up @@ -920,10 +912,10 @@ packages:
dependency: "direct main"
description:
name: logger
sha256: "6bbb9d6f7056729537a4309bda2e74e18e5d9f14302489cc1e93f33b3fe32cac"
sha256: b3ff55aeb08d9d8901b767650285872cb1bb8f508373b3e348d60268b0c7f770
url: "https://pub.dev"
source: hosted
version: "2.0.2+1"
version: "2.1.0"
logging:
dependency: transitive
description:
Expand Down Expand Up @@ -1216,10 +1208,10 @@ packages:
dependency: "direct main"
description:
name: provider
sha256: "9a96a0a19b594dbc5bf0f1f27d2bc67d5f95957359b461cd9feb44ed6ae75096"
sha256: c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c
url: "https://pub.dev"
source: hosted
version: "6.1.1"
version: "6.1.2"
pub_semver:
dependency: transitive
description:
Expand Down Expand Up @@ -1509,10 +1501,10 @@ packages:
dependency: "direct main"
description:
name: stop_watch_timer
sha256: e1a295f54742bdbed3ac2a9ec7e3e4f2f815a4e17180858af5f6a81426de3ea0
sha256: "9128717892ac94094e61544cb5259aff79eefebc0c4549a46d815689c56be8a7"
url: "https://pub.dev"
source: hosted
version: "3.1.0+4"
version: "3.1.1"
stream_channel:
dependency: transitive
description:
Expand Down Expand Up @@ -1653,10 +1645,10 @@ packages:
dependency: transitive
description:
name: url_launcher_ios
sha256: "75bb6fe3f60070407704282a2d295630cab232991eb52542b18347a8a941df03"
sha256: "9149d493b075ed740901f3ee844a38a00b33116c7c5c10d7fb27df8987fb51d5"
url: "https://pub.dev"
source: hosted
version: "6.2.4"
version: "6.2.5"
url_launcher_linux:
dependency: transitive
description:
Expand Down Expand Up @@ -1741,10 +1733,10 @@ packages:
dependency: "direct main"
description:
name: video_player
sha256: fbf28ce8bcfe709ad91b5789166c832cb7a684d14f571a81891858fefb5bb1c2
sha256: afc65f4b8bcb2c188f64a591f84fb471f4f2e19fc607c65fd8d2f8fedb3dec23
url: "https://pub.dev"
source: hosted
version: "2.8.2"
version: "2.8.3"
video_player_android:
dependency: transitive
description:
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ dependencies:
sliver_tools: ^0.2.12

# UI Enhancements & User Input
google_fonts:
flutter_switch: ^0.3.2
flag: ^7.0.0

Expand Down
Loading