GeneratedPluginRegistrant.ets
5.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import { FlutterEngine, Log } from '@ohos/flutter_ohos';
import AppUpdateCheckPlugin from 'app_update_check_plugin';
import AudioplayersPlugin from 'audioplayers_ohos';
import ConnectivityPlugin from 'connectivity_plus';
import ContantsSelectPlugin from 'contants_select';
import AMapFlutterLocationPlugin from 'csp_amap_flutter_location';
import CspAmapFlutterMapPlugin from 'csp_amap_flutter_map';
import DeviceInfoPlusPlugin from 'device_info_plus';
import FlutterAppIconBadgePlugin from 'flutter_app_icon_badge';
import FlutterBarcodeScannerOhosPlugin from 'flutter_barcode_scanner_ohos';
import FlutterBuglyPlugin from 'flutter_bugly';
import FlutterDocumentPickerPlugin from 'flutter_document_picker';
import FlutterDownloaderPlugin from 'flutter_downloader';
import FlutterImageCompressOhosPlugin from 'flutter_image_compress_ohos';
import InAppWebViewFlutterPlugin from 'flutter_inappwebview_ohos';
import FlutterKeyboardVisibilityPlugin from 'flutter_keyboard_visibility';
import FlutterNativeContactPickerPlugin from 'flutter_native_contact_picker';
import FlutterNativeImagePlugin from 'flutter_native_image';
import FlutterSmsPlugin from 'flutter_sms';
import FlutterStatusbarcolorOhosPlugin from 'flutter_statusbarcolor_ns_ohos';
import FlutterUdidPlugin from 'flutter_udid';
import FluttertoastPlugin from 'fluttertoast';
import FluwxPlugin from 'fluwx';
import ImagecropperOhosPlugin from 'image_cropper';
import ImageGallerySaverPlugin from 'image_gallery_saver';
import ImagePickerPlugin from 'image_picker_ohos';
import IntegrationTestPlugin from 'integration_test';
import OpenFilePlugin from 'open_filex';
import PackageInfoPlugin from 'package_info_plus';
import PathProviderPlugin from 'path_provider_ohos';
import PermissionHandlerPlugin from 'permission_handler_ohos';
import PhotoManagerPlugin from 'photo_manager';
import SaveFilePlugin from 'save_file';
import SharedPreferencesPlugin from 'shared_preferences_ohos';
import SignInWithApplePlugin from 'sign_in_with_apple';
import SqflitePlugin from 'sqflite';
import XgFlutterPlugin from 'tpns_flutter_plugin';
import UrlLauncherPlugin from 'url_launcher_ohos';
import VideoCompressPlugin from 'video_compress';
import VideoPlayerPlugin from 'video_player_ohos';
import VideoThumbnaiOhosPlugin from 'video_thumbnail';
import WebViewFlutterPlugin from 'webview_flutter_ohos';
/**
* Generated file. Do not edit.
* This file is generated by the Flutter tool based on the
* plugins that support the Ohos platform.
*/
const TAG = "GeneratedPluginRegistrant";
export class GeneratedPluginRegistrant {
static registerWith(flutterEngine: FlutterEngine) {
try {
flutterEngine.getPlugins()?.add(new AppUpdateCheckPlugin());
flutterEngine.getPlugins()?.add(new AudioplayersPlugin());
flutterEngine.getPlugins()?.add(new ConnectivityPlugin());
flutterEngine.getPlugins()?.add(new ContantsSelectPlugin());
flutterEngine.getPlugins()?.add(new AMapFlutterLocationPlugin());
flutterEngine.getPlugins()?.add(new CspAmapFlutterMapPlugin());
flutterEngine.getPlugins()?.add(new DeviceInfoPlusPlugin());
flutterEngine.getPlugins()?.add(new FlutterAppIconBadgePlugin());
flutterEngine.getPlugins()?.add(new FlutterBarcodeScannerOhosPlugin());
flutterEngine.getPlugins()?.add(new FlutterBuglyPlugin());
flutterEngine.getPlugins()?.add(new FlutterDocumentPickerPlugin());
flutterEngine.getPlugins()?.add(new FlutterDownloaderPlugin());
flutterEngine.getPlugins()?.add(new FlutterImageCompressOhosPlugin());
flutterEngine.getPlugins()?.add(new InAppWebViewFlutterPlugin());
flutterEngine.getPlugins()?.add(new FlutterKeyboardVisibilityPlugin());
flutterEngine.getPlugins()?.add(new FlutterNativeContactPickerPlugin());
flutterEngine.getPlugins()?.add(new FlutterNativeImagePlugin());
flutterEngine.getPlugins()?.add(new FlutterSmsPlugin());
flutterEngine.getPlugins()?.add(new FlutterStatusbarcolorOhosPlugin());
flutterEngine.getPlugins()?.add(new FlutterUdidPlugin());
flutterEngine.getPlugins()?.add(new FluttertoastPlugin());
flutterEngine.getPlugins()?.add(new FluwxPlugin());
flutterEngine.getPlugins()?.add(new ImagecropperOhosPlugin());
flutterEngine.getPlugins()?.add(new ImageGallerySaverPlugin());
flutterEngine.getPlugins()?.add(new ImagePickerPlugin());
flutterEngine.getPlugins()?.add(new IntegrationTestPlugin());
flutterEngine.getPlugins()?.add(new OpenFilePlugin());
flutterEngine.getPlugins()?.add(new PackageInfoPlugin());
flutterEngine.getPlugins()?.add(new PathProviderPlugin());
flutterEngine.getPlugins()?.add(new PermissionHandlerPlugin());
flutterEngine.getPlugins()?.add(new PhotoManagerPlugin());
flutterEngine.getPlugins()?.add(new SaveFilePlugin());
flutterEngine.getPlugins()?.add(new SharedPreferencesPlugin());
flutterEngine.getPlugins()?.add(new SignInWithApplePlugin());
flutterEngine.getPlugins()?.add(new SqflitePlugin());
flutterEngine.getPlugins()?.add(new XgFlutterPlugin());
flutterEngine.getPlugins()?.add(new UrlLauncherPlugin());
flutterEngine.getPlugins()?.add(new VideoCompressPlugin());
flutterEngine.getPlugins()?.add(new VideoPlayerPlugin());
flutterEngine.getPlugins()?.add(new VideoThumbnaiOhosPlugin());
flutterEngine.getPlugins()?.add(new WebViewFlutterPlugin());
} catch (e) {
Log.e(
TAG,
"Tried to register plugins with FlutterEngine ("
+ flutterEngine
+ ") failed.");
Log.e(TAG, "Received exception while registering", e);
}
}
}