Skip to content

Commit

Permalink
fix [ios] crash
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyHers committed May 2, 2023
1 parent 3bcf004 commit e37c75d
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ migrate_working_dir/
*.iml
*.ipr
*.iws
*.cc
*.cmake
*.swift
*.h
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
Expand Down
15 changes: 15 additions & 0 deletions example/linux/flutter/generated_plugin_registrant.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// Generated file. Do not edit.
//

// clang-format off

#ifndef GENERATED_PLUGIN_REGISTRANT_
#define GENERATED_PLUGIN_REGISTRANT_

#include <flutter_linux/flutter_linux.h>

// Registers Flutter plugins.
void fl_register_plugins(FlPluginRegistry* registry);

#endif // GENERATED_PLUGIN_REGISTRANT_
12 changes: 12 additions & 0 deletions example/macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Generated file. Do not edit.
//

import FlutterMacOS
import Foundation

import flutter_any_logo

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FlutterAnyLogoPlugin.register(with: registry.registrar(forPlugin: "FlutterAnyLogoPlugin"))
}
14 changes: 14 additions & 0 deletions example/windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// Generated file. Do not edit.
//

// clang-format off

#include "generated_plugin_registrant.h"

#include <flutter_any_logo/flutter_any_logo_plugin_c_api.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
FlutterAnyLogoPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FlutterAnyLogoPluginCApi"));
}
15 changes: 15 additions & 0 deletions example/windows/flutter/generated_plugin_registrant.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//
// Generated file. Do not edit.
//

// clang-format off

#ifndef GENERATED_PLUGIN_REGISTRANT_
#define GENERATED_PLUGIN_REGISTRANT_

#include <flutter/plugin_registry.h>

// Registers Flutter plugins.
void RegisterPlugins(flutter::PluginRegistry* registry);

#endif // GENERATED_PLUGIN_REGISTRANT_

0 comments on commit e37c75d

Please sign in to comment.