GeneratedPluginRegistrant.ets
1.99 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
import { FlutterEngine, Log } from '@ohos/flutter_ohos';
import AppUpdateCheckPlugin from 'app_update_check_plugin';
import FlutterBarcodeScannerOhosPlugin from 'flutter_barcode_scanner_ohos';
import FlutterBuglyPlugin from 'flutter_bugly';
import FlutterImageCompressOhosPlugin from 'flutter_image_compress_ohos';
import FlutterNativeContactPickerPlugin from 'flutter_native_contact_picker';
import FlutterUdidPlugin from 'flutter_udid';
import FluwxPlugin from 'fluwx';
import ImagePickerPlugin from 'image_picker_ohos';
import PackageInfoPlugin from 'package_info_plus';
import PhotoManagerPlugin from 'photo_manager';
import SaveFilePlugin from 'save_file';
import XgFlutterPlugin from 'tpns_flutter_plugin';
/**
* 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 FlutterBarcodeScannerOhosPlugin());
flutterEngine.getPlugins()?.add(new FlutterBuglyPlugin());
flutterEngine.getPlugins()?.add(new FlutterImageCompressOhosPlugin());
flutterEngine.getPlugins()?.add(new FlutterNativeContactPickerPlugin());
flutterEngine.getPlugins()?.add(new FlutterUdidPlugin());
flutterEngine.getPlugins()?.add(new FluwxPlugin());
flutterEngine.getPlugins()?.add(new ImagePickerPlugin());
flutterEngine.getPlugins()?.add(new PackageInfoPlugin());
flutterEngine.getPlugins()?.add(new PhotoManagerPlugin());
flutterEngine.getPlugins()?.add(new SaveFilePlugin());
flutterEngine.getPlugins()?.add(new XgFlutterPlugin());
} catch (e) {
Log.e(
TAG,
"Tried to register plugins with FlutterEngine ("
+ flutterEngine
+ ") failed.");
Log.e(TAG, "Received exception while registering", e);
}
}
}