Skip to content

Commit

Permalink
[#285] [NF] Screen Widgets. Disable Windows metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
lyskouski committed Dec 5, 2024
1 parent b5c2b1c commit c212de6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 30 deletions.
5 changes: 3 additions & 2 deletions docs/implementation-flow/ch04-s03-telemetry.tex
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ \subsubsection{Activating Google Analytics}
}
\end{lstlisting}

\noindent That might be the case for web, android, ios, macos, and windows; but we have additionally linux that is
not supported by now, so, let's patch \q{firebase\_options.dart}-file to return null instead of throwing an exception:
\noindent That might be the case for web, android, ios, macos, and windows (the last is not yet supported by
\q{firebase\_analytics} version 11.3.6); but we have additionally linux that is not supported by now, so, let's patch
\q{firebase\_options.dart}-file to return null instead of throwing an exception:

\begin{lstlisting}
// ./lib/firebase_options.dart
Expand Down
2 changes: 1 addition & 1 deletion lib/_configs/firebase_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class DefaultFirebaseOptions {
case TargetPlatform.macOS:
return macos;
case TargetPlatform.windows:
return windows;
// return windows;
case TargetPlatform.linux:
default:
return null;
Expand Down
48 changes: 24 additions & 24 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ packages:
dependency: transitive
description:
name: _flutterfire_internals
sha256: "9371d13b8ee442e3bfc08a24e3a1b3742c839abbfaf5eef11b79c4b862c89bf7"
sha256: eae3133cbb06de9205899b822e3897fc6a8bc278ad4c944b4ce612689369694b
url: "https://pub.dev"
source: hosted
version: "1.3.41"
version: "1.3.47"
adaptive_breakpoints:
dependency: "direct main"
description:
Expand Down Expand Up @@ -341,74 +341,74 @@ packages:
dependency: "direct main"
description:
name: file_picker
sha256: "825aec673606875c33cd8d3c4083f1a3c3999015a84178b317b7ef396b7384f3"
sha256: "16dc141db5a2ccc6520ebb6a2eb5945b1b09e95085c021d9f914f8ded7f1465c"
url: "https://pub.dev"
source: hosted
version: "8.0.7"
version: "8.1.4"
firebase_analytics:
dependency: "direct main"
description:
name: firebase_analytics
sha256: "7e032ade38dec2a92f543ba02c5f72f54ffaa095c60d2132b867eab56de3bc73"
sha256: "366140abb55418ea23060b779893fa997c2d8e1974a4d1cc4d9590933b65c5fd"
url: "https://pub.dev"
source: hosted
version: "11.3.0"
version: "11.3.6"
firebase_analytics_platform_interface:
dependency: transitive
description:
name: firebase_analytics_platform_interface
sha256: b62a2444767d95067a7e36b1d6e335e0b877968574bbbfb656168c46f2e95a13
sha256: "8e987cf977c0c8f4ad02d9950a9b25b1a9606899f37b66a322a43af05be0246b"
url: "https://pub.dev"
source: hosted
version: "4.2.2"
version: "4.2.8"
firebase_analytics_web:
dependency: transitive
description:
name: firebase_analytics_web
sha256: bad44f71f96cfca6c16c9dd4f70b85f123ddca7d5dd698977449fadf298b1782
sha256: "0b64ef9060d394bba3d3b4777f49ee098efeeea7b0afb04663c956de6a3da170"
url: "https://pub.dev"
source: hosted
version: "0.5.9+2"
version: "0.5.10+5"
firebase_core:
dependency: "direct main"
description:
name: firebase_core
sha256: "06537da27db981947fa535bb91ca120b4e9cb59cb87278dbdde718558cafc9ff"
sha256: fef81a53ba1ca618def1f8bef4361df07968434e62cb204c1fb90bb880a03da2
url: "https://pub.dev"
source: hosted
version: "3.4.0"
version: "3.8.1"
firebase_core_platform_interface:
dependency: transitive
description:
name: firebase_core_platform_interface
sha256: f7d7180c7f99babd4b4c517754d41a09a4943a0f7a69b65c894ca5c68ba66315
sha256: b94b217e3ad745e784960603d33d99471621ecca151c99c670869b76e50ad2a6
url: "https://pub.dev"
source: hosted
version: "5.2.1"
version: "5.3.1"
firebase_core_web:
dependency: transitive
description:
name: firebase_core_web
sha256: "362e52457ed2b7b180964769c1e04d1e0ea0259fdf7025fdfedd019d4ae2bd88"
sha256: "9e69806bb3d905aeec3c1242e0e1475de6ea6d48f456af29d598fb229a2b4e5e"
url: "https://pub.dev"
source: hosted
version: "2.17.5"
version: "2.18.2"
firebase_crashlytics:
dependency: "direct main"
description:
name: firebase_crashlytics
sha256: "4c9872020c0d97a161362ee6af7000cfdb8666234ddc290a15252ad379bb235a"
sha256: e235c8452d5622fc271404592388fde179e4b62c50e777ad3c8c3369296104ed
url: "https://pub.dev"
source: hosted
version: "4.1.0"
version: "4.2.0"
firebase_crashlytics_platform_interface:
dependency: transitive
description:
name: firebase_crashlytics_platform_interface
sha256: ede8a199ff03378857d3c8cbb7fa58d37c27bb5a6b75faf8415ff6925dcaae2a
sha256: "4ddadf44ed0a202f3acad053f12c083877940fa8cc1a9f747ae09e1ef4372160"
url: "https://pub.dev"
source: hosted
version: "3.6.41"
version: "3.7.0"
fixnum:
dependency: transitive
description:
Expand Down Expand Up @@ -1325,18 +1325,18 @@ packages:
dependency: transitive
description:
name: web
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
url: "https://pub.dev"
source: hosted
version: "0.5.1"
version: "1.1.0"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42"
sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b
url: "https://pub.dev"
source: hosted
version: "2.4.5"
version: "2.4.0"
webdav_client:
dependency: "direct main"
description:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ dependencies:
# Freeze encrypt and flutter_webrtc
encrypt: 5.0.1
flutter_webrtc: "0.9.42+hotfix.1"
firebase_core: ^3.2.0
firebase_analytics: ^11.2.0
firebase_core: ^3.8.1
firebase_analytics: ^11.3.6
firebase_crashlytics: ^4.2.0
flutter_markdown: ^0.7.1
package_info_plus: ^8.0.0
url_launcher: ^6.1.12
Expand All @@ -52,7 +53,6 @@ dependencies:
flutter_swipe_action_cell: ^3.1.2
flutter_currency_picker: ^1.6.0
in_app_purchase: ^3.1.11
firebase_crashlytics: ^4.0.0
dart_intl_search: ^1.2.3
idb_shim: ^2.6.1+7
excel: ^4.0.6
Expand Down

0 comments on commit c212de6

Please sign in to comment.