From 77c19a63512a359b92728b21f787a7dfe67c042a Mon Sep 17 00:00:00 2001 From: huangxiaoyao <976125628@qq.com> Date: Mon, 20 Jan 2025 19:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E7=89=88?= =?UTF-8?q?=E6=9D=83=E5=A4=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huangxiaoyao <976125628@qq.com> --- OAT.xml | 53 +++---------------- .../plugins/camera/utlis/PermissionUtils.ets | 4 ++ .../ets/file_selector/FIleSelectorUtil.ets | 4 ++ .../ohos/src/main/ets/common/JWTUtil.ts | 4 ++ .../ohos/src/main/ets/common/TsUtil.ts | 4 ++ .../src/main/ets/components/MethodNames.ets | 4 ++ .../src/main/ets/components/ProductType.ets | 4 ++ .../src/main/ets/components/PurchaseData.ets | 4 ++ .../ets/components/PurchaseOrderPayload.ets | 4 ++ .../main/ets/components/TransactionState.ts | 4 ++ .../src/main/ets/plugins/MessagePlugin.ets | 4 ++ .../entry/src/main/ets/plugins/Messages.ets | 4 ++ .../src/main/ets/pages/LaunchInAppPage.ets | 4 ++ .../ets/components/plugin/InAppBrowser.ets | 4 ++ .../components/videoplayer/PlayerModel.ets | 4 ++ .../ets/components/videoplayer/VideoItem.ets | 4 ++ .../components/videoplayer/VideoPlayerApi.ets | 4 ++ .../videoplayer/VideoPlayerApiCodec.ets | 4 ++ .../videoplayer/VideoPlayerApiImpl.ets | 4 ++ .../ets/components/videoplayer/VideoSpeed.ets | 4 ++ .../videoplayer/constants/CommonConstants.ets | 4 ++ .../videoplayer/constants/PlayConstants.ets | 4 ++ .../webview_flutter/DynamicUtils.ets | 4 ++ .../webview_flutter/OhosObjectHostApiImpl.ets | 4 ++ .../webview_flutter/OhosWebView.ets | 4 ++ .../webview_flutter/DynamicUtils.ets | 4 ++ .../webview_flutter/OhosObjectHostApiImpl.ets | 4 ++ .../webview_flutter/OhosWebView.ets | 4 ++ 28 files changed, 114 insertions(+), 47 deletions(-) diff --git a/OAT.xml b/OAT.xml index 746a85634..0a3461262 100644 --- a/OAT.xml +++ b/OAT.xml @@ -66,14 +66,6 @@ - - - - - - - - @@ -88,8 +80,8 @@ - - + + @@ -104,6 +96,10 @@ + + + + @@ -245,43 +241,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/camera/camera_ohos/ohos/src/main/ets/io/flutter/plugins/camera/utlis/PermissionUtils.ets b/packages/camera/camera_ohos/ohos/src/main/ets/io/flutter/plugins/camera/utlis/PermissionUtils.ets index 3087a6164..7df904010 100644 --- a/packages/camera/camera_ohos/ohos/src/main/ets/io/flutter/plugins/camera/utlis/PermissionUtils.ets +++ b/packages/camera/camera_ohos/ohos/src/main/ets/io/flutter/plugins/camera/utlis/PermissionUtils.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import abilityAccessCtrl, { PermissionRequestResult } from '@ohos.abilityAccessCtrl'; import { Permissions } from '@ohos.abilityAccessCtrl'; import bundleManager from '@ohos.bundle.bundleManager'; diff --git a/packages/file_selector/file_selector_ohos/ohos/src/main/ets/file_selector/FIleSelectorUtil.ets b/packages/file_selector/file_selector_ohos/ohos/src/main/ets/file_selector/FIleSelectorUtil.ets index dd49a3871..ebcb75ef7 100644 --- a/packages/file_selector/file_selector_ohos/ohos/src/main/ets/file_selector/FIleSelectorUtil.ets +++ b/packages/file_selector/file_selector_ohos/ohos/src/main/ets/file_selector/FIleSelectorUtil.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import picker from '@ohos.file.picker'; import common from '@ohos.app.ability.common'; import { FileTypes } from './GeneratedFileSelectorApi'; diff --git a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/JWTUtil.ts b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/JWTUtil.ts index ee6e3935a..db623fde3 100644 --- a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/JWTUtil.ts +++ b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/JWTUtil.ts @@ -1,3 +1,7 @@ +// Copyright (c) 2024 Huawei Technologies Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_HW file. + import { util } from '@kit.ArkTS'; const centerLineRegex: RegExp = new RegExp('-', 'g'); diff --git a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/TsUtil.ts b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/TsUtil.ts index 0c8977e9f..58ddd5db7 100644 --- a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/TsUtil.ts +++ b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/common/TsUtil.ts @@ -1,3 +1,7 @@ +// Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + export function ObjToMap(obj: Object): Map { const map = new Map(); for (const key in obj) { diff --git a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/MethodNames.ets b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/MethodNames.ets index 37969253c..04b7fbb78 100644 --- a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/MethodNames.ets +++ b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/MethodNames.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + export class MethodNames { static QUERY_ENVIRONMENT_STATUS: string = "iap#queryEnvironmentStatus"; static QUERY_PRODUCTS: string = "iap#queryProducts"; diff --git a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/ProductType.ets b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/ProductType.ets index 5aa0fa9cc..6f17cc0f8 100644 --- a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/ProductType.ets +++ b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/ProductType.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { iap } from '@kit.IAPKit' export const ProductType: Array = [ iap.ProductType.CONSUMABLE, diff --git a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseData.ets b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseData.ets index 56d822e37..f5afb326c 100644 --- a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseData.ets +++ b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseData.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + export interface PurchaseData { type: number; jwsPurchaseOrder?: string; diff --git a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseOrderPayload.ets b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseOrderPayload.ets index c50756854..295a202a6 100644 --- a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseOrderPayload.ets +++ b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/PurchaseOrderPayload.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { Any } from '@ohos/flutter_ohos'; export class PurchaseOrderPayload { diff --git a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/TransactionState.ts b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/TransactionState.ts index cf15b3d34..395aabde1 100644 --- a/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/TransactionState.ts +++ b/packages/in_app_purchase/in_app_purchase_ohos/ohos/src/main/ets/components/TransactionState.ts @@ -1,3 +1,7 @@ +// Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + export enum TransactionState { purchasing = 0, purchased = 1, diff --git a/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/MessagePlugin.ets b/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/MessagePlugin.ets index 0a5f9a3f3..6094f7b3e 100644 --- a/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/MessagePlugin.ets +++ b/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/MessagePlugin.ets @@ -1,3 +1,7 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import { FlutterPlugin, FlutterPluginBinding diff --git a/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/Messages.ets b/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/Messages.ets index f5146585b..0fdd8b4d0 100644 --- a/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/Messages.ets +++ b/packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/Messages.ets @@ -1,3 +1,7 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + import StandardMessageCodec from '@ohos/flutter_ohos/src/main/ets/plugin/common/StandardMessageCodec'; import BasicMessageChannel, { Reply } from '@ohos/flutter_ohos/src/main/ets/plugin/common/BasicMessageChannel'; import { BinaryMessenger,TaskQueue } from '@ohos/flutter_ohos/src/main/ets/plugin/common/BinaryMessenger'; diff --git a/packages/url_launcher/url_launcher_ohos/example/ohos/entry/src/main/ets/pages/LaunchInAppPage.ets b/packages/url_launcher/url_launcher_ohos/example/ohos/entry/src/main/ets/pages/LaunchInAppPage.ets index 88c5930b3..ec16caf48 100644 --- a/packages/url_launcher/url_launcher_ohos/example/ohos/entry/src/main/ets/pages/LaunchInAppPage.ets +++ b/packages/url_launcher/url_launcher_ohos/example/ohos/entry/src/main/ets/pages/LaunchInAppPage.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { InAppBrowser } from 'url_launcher_ohos/src/main/ets/components/plugin/InAppBrowser'; @Entry diff --git a/packages/url_launcher/url_launcher_ohos/ohos/src/main/ets/components/plugin/InAppBrowser.ets b/packages/url_launcher/url_launcher_ohos/ohos/src/main/ets/components/plugin/InAppBrowser.ets index 5430c15a9..fe813c7c5 100644 --- a/packages/url_launcher/url_launcher_ohos/ohos/src/main/ets/components/plugin/InAppBrowser.ets +++ b/packages/url_launcher/url_launcher_ohos/ohos/src/main/ets/components/plugin/InAppBrowser.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import web_webview from '@ohos.web.webview'; import router from '@ohos.router'; import { ValueType } from '@kit.ArkData'; diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/PlayerModel.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/PlayerModel.ets index a742a678b..3d88aa9a1 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/PlayerModel.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/PlayerModel.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { CommonConstants } from './constants/CommonConstants'; import { PlayConstants } from './constants/PlayConstants'; diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoItem.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoItem.ets index 6e307ddb0..4b01832d2 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoItem.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoItem.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import image from '@ohos.multimedia.image'; import resourceManager from '@ohos.resourceManager'; diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApi.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApi.ets index de0c3f478..ae688d8dc 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApi.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApi.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { BinaryMessenger } from '@ohos/flutter_ohos/src/main/ets/plugin/common/BinaryMessenger'; import { CreateMessage, LoopingMessage, MixWithOthersMessage, diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiCodec.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiCodec.ets index 36adecd01..43322d4cc 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiCodec.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiCodec.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import StandardMessageCodec from '@ohos/flutter_ohos/src/main/ets/plugin/common/StandardMessageCodec'; import { CreateMessage, LoopingMessage, MixWithOthersMessage, PlaybackSpeedMessage, PositionMessage, TextureMessage, diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiImpl.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiImpl.ets index fcf99c004..4710e48b3 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiImpl.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoPlayerApiImpl.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { FlutterPlugin, FlutterPluginBinding} from '@ohos/flutter_ohos/src/main/ets/embedding/engine/plugins/FlutterPlugin'; import { AbilityPluginBinding } from '@ohos/flutter_ohos/src/main/ets/embedding/engine/plugins/ability/AbilityPluginBinding'; import { BinaryMessenger } from '@ohos/flutter_ohos/src/main/ets/plugin/common/BinaryMessenger'; diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoSpeed.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoSpeed.ets index 5869f1587..43b4a6a56 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoSpeed.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/VideoSpeed.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + export class VideoSpeed { text: string; value: number; diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/CommonConstants.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/CommonConstants.ets index 9a46eeea7..c851ec89e 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/CommonConstants.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/CommonConstants.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import resourceManager from '@ohos.resourceManager'; import { VideoItem } from '../VideoItem'; import { VideoSpeed } from '../VideoSpeed'; diff --git a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/PlayConstants.ets b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/PlayConstants.ets index 5e3134ca5..b985aa7f9 100644 --- a/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/PlayConstants.ets +++ b/packages/video_player/video_player_ohos/ohos/src/main/ets/components/videoplayer/constants/PlayConstants.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + /** * Play constants for all features. */ diff --git a/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets b/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets index d4b1cafbb..3e68e7a6f 100644 --- a/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets +++ b/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { DVModelParameters } from '@ohos/flutter_ohos/src/main/ets/view/DynamicView/dynamicView' export class DynamicUtils { diff --git a/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets b/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets index 2a0fd66b5..098f201ce 100644 --- a/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets +++ b/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { OhosObjectHostApi as OhosObjectHostApi } from './GeneratedOhosWebView'; import { InstanceManager } from './InstanceManager'; import { WebViewPlatformView } from './WebViewHostApiImpl'; diff --git a/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets b/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets index 893072ca1..4e20436f3 100644 --- a/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets +++ b/packages/webview_flutter-v4.4.4/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import web_webview from '@ohos.web.webview' import { Params } from '@ohos/flutter_ohos/src/main/ets/plugin/platform/PlatformView'; import { WebViewPlatformView } from './WebViewHostApiImpl'; diff --git a/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets b/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets index d4b1cafbb..3e68e7a6f 100644 --- a/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets +++ b/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/DynamicUtils.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { DVModelParameters } from '@ohos/flutter_ohos/src/main/ets/view/DynamicView/dynamicView' export class DynamicUtils { diff --git a/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets b/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets index d27fa8658..34b64cea4 100644 --- a/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets +++ b/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosObjectHostApiImpl.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import { OhosObjectHostApi as OhosObjectHostApi } from './GeneratedOhosWebView'; import { InstanceManager } from './InstanceManager'; import { WebViewPlatformView } from './WebViewHostApiImpl'; diff --git a/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets b/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets index 3c2b9773b..108ef8ca6 100644 --- a/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets +++ b/packages/webview_flutter/webview_flutter_ohos/ohos/src/main/ets/io.flutter.plugins/webview_flutter/OhosWebView.ets @@ -1,3 +1,7 @@ +// Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE_ODID file. + import web_webview from '@ohos.web.webview' import { Params } from '@ohos/flutter_ohos/src/main/ets/plugin/platform/PlatformView'; import { WebViewPlatformView } from './WebViewHostApiImpl'; -- Gitee