pubspec.yaml firebase lines commented out for build on Windows target. Other files automatically updated to exclude related firebase lines.

This version builds on TRM laptop.
pull/2765/head
spakkan 5 days ago
parent 33206b94f3
commit f4c8644cb9

@ -6,8 +6,6 @@ import FlutterMacOS
import Foundation
import audioplayers_darwin
import firebase_core
import firebase_crashlytics
import games_services
import in_app_purchase_storekit
import path_provider_foundation
@ -16,8 +14,6 @@ import webview_flutter_wkwebview
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AudioplayersDarwinPlugin.register(with: registry.registrar(forPlugin: "AudioplayersDarwinPlugin"))
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
FLTFirebaseCrashlyticsPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCrashlyticsPlugin"))
SwiftGamesServicesPlugin.register(with: registry.registrar(forPlugin: "SwiftGamesServicesPlugin"))
InAppPurchasePlugin.register(with: registry.registrar(forPlugin: "InAppPurchasePlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))

@ -23,8 +23,8 @@ dependencies:
# If you don't need one of the following dependencies,
# delete the relevant line below, and get rid of any Dart code
# that references the dependency.
firebase_core: ^4.0.0 # Needed for Crashlytics below
firebase_crashlytics: ^5.0.0 # Error reporting
# firebase_core: ^4.0.0 # Needed for Crashlytics below
# firebase_crashlytics: ^5.0.0 # Error reporting
games_services: ^5.0.0 # Achievements and leaderboards
google_mobile_ads: ^7.0.0 # Ads
in_app_purchase: ^3.0.1 # In-app purchases

@ -7,11 +7,8 @@
#include "generated_plugin_registrant.h"
#include <audioplayers_windows/audioplayers_windows_plugin.h>
#include <firebase_core/firebase_core_plugin_c_api.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
AudioplayersWindowsPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("AudioplayersWindowsPlugin"));
FirebaseCorePluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FirebaseCorePluginCApi"));
}

@ -4,7 +4,6 @@
list(APPEND FLUTTER_PLUGIN_LIST
audioplayers_windows
firebase_core
)
list(APPEND FLUTTER_FFI_PLUGIN_LIST

Loading…
Cancel
Save