diff --git a/ohos/src/main/ets/RScanView/RScanViewPlugin.ets b/ohos/src/main/ets/RScanView/RScanViewPlugin.ets deleted file mode 100644 index 6ce74190546f25122c1e850e311c61ef7054dc13..0000000000000000000000000000000000000000 --- a/ohos/src/main/ets/RScanView/RScanViewPlugin.ets +++ /dev/null @@ -1,24 +0,0 @@ -/* -* Copyright (c) 2024 SwanLink (Jiangsu) Technology Development Co., LTD. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -import { BinaryMessenger, PlatformViewRegistry } from '@ohos/flutter_ohos'; -import { RScanViewFactory } from './RScanViewFactory'; - -export class RScanViewPlugin { - public static registerWith(platformViewRegistry: PlatformViewRegistry, messenger: BinaryMessenger): void { - platformViewRegistry - .registerViewFactory("com.rhyme_lph/r_scan_view", new RScanViewFactory(messenger)); - } -}