Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
base_data_channel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PublicSource
base_data_channel
Commits
31a1b93a
Commit
31a1b93a
authored
Apr 26, 2023
by
tongzifang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sentry_flutter
parent
02c659fd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
46 additions
and
0 deletions
+46
-0
generated_plugin_registrant.cc
example/linux/flutter/generated_plugin_registrant.cc
+4
-0
generated_plugins.cmake
example/linux/flutter/generated_plugins.cmake
+1
-0
GeneratedPluginRegistrant.swift
example/macos/Flutter/GeneratedPluginRegistrant.swift
+4
-0
pubspec.lock
example/pubspec.lock
+32
-0
generated_plugin_registrant.cc
example/windows/flutter/generated_plugin_registrant.cc
+3
-0
generated_plugins.cmake
example/windows/flutter/generated_plugins.cmake
+1
-0
pubspec.yaml
pubspec.yaml
+1
-0
No files found.
example/linux/flutter/generated_plugin_registrant.cc
View file @
31a1b93a
...
...
@@ -7,9 +7,13 @@
#include "generated_plugin_registrant.h"
#include <base_data_channel/base_data_channel_plugin.h>
#include <sentry_flutter/sentry_flutter_plugin.h>
void
fl_register_plugins
(
FlPluginRegistry
*
registry
)
{
g_autoptr
(
FlPluginRegistrar
)
base_data_channel_registrar
=
fl_plugin_registry_get_registrar_for_plugin
(
registry
,
"BaseDataChannelPlugin"
);
base_data_channel_plugin_register_with_registrar
(
base_data_channel_registrar
);
g_autoptr
(
FlPluginRegistrar
)
sentry_flutter_registrar
=
fl_plugin_registry_get_registrar_for_plugin
(
registry
,
"SentryFlutterPlugin"
);
sentry_flutter_plugin_register_with_registrar
(
sentry_flutter_registrar
);
}
example/linux/flutter/generated_plugins.cmake
View file @
31a1b93a
...
...
@@ -4,6 +4,7 @@
list
(
APPEND FLUTTER_PLUGIN_LIST
base_data_channel
sentry_flutter
)
list
(
APPEND FLUTTER_FFI_PLUGIN_LIST
...
...
example/macos/Flutter/GeneratedPluginRegistrant.swift
View file @
31a1b93a
...
...
@@ -6,15 +6,19 @@ import FlutterMacOS
import
Foundation
import
base_data_channel
import
package_info_plus
import
path_provider_foundation
import
photo_manager
import
sentry_flutter
import
shared_preferences_foundation
import
sqflite
func
RegisterGeneratedPlugins
(
registry
:
FlutterPluginRegistry
)
{
BaseDataChannelPlugin
.
register
(
with
:
registry
.
registrar
(
forPlugin
:
"BaseDataChannelPlugin"
))
FLTPackageInfoPlusPlugin
.
register
(
with
:
registry
.
registrar
(
forPlugin
:
"FLTPackageInfoPlusPlugin"
))
PathProviderPlugin
.
register
(
with
:
registry
.
registrar
(
forPlugin
:
"PathProviderPlugin"
))
PhotoManagerPlugin
.
register
(
with
:
registry
.
registrar
(
forPlugin
:
"PhotoManagerPlugin"
))
SentryFlutterPlugin
.
register
(
with
:
registry
.
registrar
(
forPlugin
:
"SentryFlutterPlugin"
))
SharedPreferencesPlugin
.
register
(
with
:
registry
.
registrar
(
forPlugin
:
"SharedPreferencesPlugin"
))
SqflitePlugin
.
register
(
with
:
registry
.
registrar
(
forPlugin
:
"SqflitePlugin"
))
}
example/pubspec.lock
View file @
31a1b93a
...
...
@@ -400,6 +400,22 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.1.0"
package_info_plus:
dependency: transitive
description:
name: package_info_plus
sha256: cbff87676c352d97116af6dbea05aa28c4d65eb0f6d5677a520c11a69ca9a24d
url: "https://pub.flutter-io.cn"
source: hosted
version: "3.1.0"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
sha256: "9bc8ba46813a4cc42c66ab781470711781940780fd8beddd0c3da62506d3a6c6"
url: "https://pub.flutter-io.cn"
source: hosted
version: "2.0.1"
path:
dependency: transitive
description:
...
...
@@ -560,6 +576,22 @@ packages:
url: "https://pub.flutter-io.cn"
source: hosted
version: "0.27.7"
sentry:
dependency: transitive
description:
name: sentry
sha256: "9b005f502dfd84ca085dfa660dd4f16f7891c1b4b6300fda7c340330e61525d6"
url: "https://pub.flutter-io.cn"
source: hosted
version: "7.4.2"
sentry_flutter:
dependency: transitive
description:
name: sentry_flutter
sha256: bb537f6fedbe4c634aaf1a430d5efce8329e355b57dc2e0c224d8a2a3e54c4ac
url: "https://pub.flutter-io.cn"
source: hosted
version: "7.4.2"
shared_preferences:
dependency: transitive
description:
...
...
example/windows/flutter/generated_plugin_registrant.cc
View file @
31a1b93a
...
...
@@ -7,8 +7,11 @@
#include "generated_plugin_registrant.h"
#include <base_data_channel/base_data_channel_plugin_c_api.h>
#include <sentry_flutter/sentry_flutter_plugin.h>
void
RegisterPlugins
(
flutter
::
PluginRegistry
*
registry
)
{
BaseDataChannelPluginCApiRegisterWithRegistrar
(
registry
->
GetRegistrarForPlugin
(
"BaseDataChannelPluginCApi"
));
SentryFlutterPluginRegisterWithRegistrar
(
registry
->
GetRegistrarForPlugin
(
"SentryFlutterPlugin"
));
}
example/windows/flutter/generated_plugins.cmake
View file @
31a1b93a
...
...
@@ -4,6 +4,7 @@
list
(
APPEND FLUTTER_PLUGIN_LIST
base_data_channel
sentry_flutter
)
list
(
APPEND FLUTTER_FFI_PLUGIN_LIST
...
...
pubspec.yaml
View file @
31a1b93a
...
...
@@ -51,6 +51,7 @@ dependencies:
keyboard_dismisser
:
^3.0.0
insta_image_viewer
:
^1.0.2
pull_to_refresh_flutter3
:
^2.0.1
sentry_flutter
:
^7.4.2
flutter_boost
:
git
:
url
:
'
https://github.com/alibaba/flutter_boost.git'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment