~repos /only-bible-app

#kotlin#android#ios

git clone https://pyrossh.dev/repos/only-bible-app.git

The only bible app you will ever need. No ads. No in-app purchases. No distractions.


fb095dc8 pyrossh

2 years ago
add native libs
linux/flutter/generated_plugin_registrant.cc CHANGED
@@ -6,6 +6,10 @@
6
6
 
7
7
  #include "generated_plugin_registrant.h"
8
8
 
9
+ #include <url_launcher_linux/url_launcher_plugin.h>
9
10
 
10
11
  void fl_register_plugins(FlPluginRegistry* registry) {
12
+ g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
13
+ fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
14
+ url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
11
15
  }
linux/flutter/generated_plugins.cmake CHANGED
@@ -3,6 +3,7 @@
3
3
  #
4
4
 
5
5
  list(APPEND FLUTTER_PLUGIN_LIST
6
+ url_launcher_linux
6
7
  )
7
8
 
8
9
  list(APPEND FLUTTER_FFI_PLUGIN_LIST
macos/Flutter/GeneratedPluginRegistrant.swift CHANGED
@@ -11,6 +11,7 @@ import firebase_crashlytics
11
11
  import firebase_storage
12
12
  import just_audio
13
13
  import path_provider_foundation
14
+ import share_plus
14
15
  import shared_preferences_foundation
15
16
 
16
17
  func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
@@ -20,5 +21,6 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
20
21
  FLTFirebaseStoragePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseStoragePlugin"))
21
22
  JustAudioPlugin.register(with: registry.registrar(forPlugin: "JustAudioPlugin"))
22
23
  PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
24
+ SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
23
25
  SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
24
26
  }
windows/flutter/generated_plugin_registrant.cc CHANGED
@@ -7,8 +7,14 @@
7
7
  #include "generated_plugin_registrant.h"
8
8
 
9
9
  #include <firebase_core/firebase_core_plugin_c_api.h>
10
+ #include <share_plus/share_plus_windows_plugin_c_api.h>
11
+ #include <url_launcher_windows/url_launcher_windows.h>
10
12
 
11
13
  void RegisterPlugins(flutter::PluginRegistry* registry) {
12
14
  FirebaseCorePluginCApiRegisterWithRegistrar(
13
15
  registry->GetRegistrarForPlugin("FirebaseCorePluginCApi"));
16
+ SharePlusWindowsPluginCApiRegisterWithRegistrar(
17
+ registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi"));
18
+ UrlLauncherWindowsRegisterWithRegistrar(
19
+ registry->GetRegistrarForPlugin("UrlLauncherWindows"));
14
20
  }
windows/flutter/generated_plugins.cmake CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  list(APPEND FLUTTER_PLUGIN_LIST
6
6
  firebase_core
7
+ share_plus
8
+ url_launcher_windows
7
9
  )
8
10
 
9
11
  list(APPEND FLUTTER_FFI_PLUGIN_LIST