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

Fix "flutter/runtime/dart_vm_initializer.cc" on Linux #4453

Merged
merged 1 commit into from
Nov 29, 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
28 changes: 14 additions & 14 deletions client/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -247,84 +247,84 @@ packages:
path: "../packages/flet"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_ads:
dependency: "direct main"
description:
path: "../packages/flet_ads"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_audio:
dependency: "direct main"
description:
path: "../packages/flet_audio"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_audio_recorder:
dependency: "direct main"
description:
path: "../packages/flet_audio_recorder"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_flashlight:
dependency: "direct main"
description:
path: "../packages/flet_flashlight"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_geolocator:
dependency: "direct main"
description:
path: "../packages/flet_geolocator"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_lottie:
dependency: "direct main"
description:
path: "../packages/flet_lottie"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_map:
dependency: "direct main"
description:
path: "../packages/flet_map"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_permission_handler:
dependency: "direct main"
description:
path: "../packages/flet_permission_handler"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_rive:
dependency: "direct main"
description:
path: "../packages/flet_rive"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_video:
dependency: "direct main"
description:
path: "../packages/flet_video"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flet_webview:
dependency: "direct main"
description:
path: "../packages/flet_webview"
relative: true
source: path
version: "0.24.1"
version: "0.25.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -376,10 +376,10 @@ packages:
dependency: transitive
description:
name: flutter_map_animations
sha256: a2135cd3cf36c07d821efeabb0be31aca380449528af80913c77b158e142eae9
sha256: "08233f89919049a3601e785d32e9d1d9e1faac6578190150f1d7495fc1050d36"
url: "https://pub.dev"
source: hosted
version: "0.7.1"
version: "0.8.0"
flutter_map_cancellable_tile_provider:
dependency: transitive
description:
Expand Down
4 changes: 3 additions & 1 deletion packages/flet_ads/lib/src/create_control.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ CreateControlFactory createControl = (CreateControlArgs args) {
};

void ensureInitialized() {
MobileAds.instance.initialize();
if (isMobilePlatform()) {
MobileAds.instance.initialize();
}
}