Skip to content

Commit

Permalink
[ohos]更新插件的import方式
Browse files Browse the repository at this point in the history
  • Loading branch information
0xZOne committed Apr 28, 2024
1 parent a28b4f7 commit 9d5b42f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
10. [ohos]设置全屏窗口
11. [ohos]修复透明弹窗透底异常的问题
12. [ohos]添加PlatformView测试案例
13. [ohos]更新插件的import方式

## 4.5.4
1. [ohos]支持传入启动参数和dart入口参数
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
FlutterBoostDelegate,
FlutterBoostRouteOptions,
FlutterBoostSetupOptionsBuilder
} from '@ohos/flutter_boost';
} from 'flutter_boost';
import { FlutterManager} from '@ohos/flutter_ohos';
import { GeneratedPluginRegistrant } from '../plugins/GeneratedPluginRegistrant';
import { RouterModule, RouterOptions } from '../router/RouterModule';
Expand Down
2 changes: 1 addition & 1 deletion example/ohos/entry/src/main/ets/pages/EntryPage.ets
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import hilog from '@ohos.hilog';
import { FlutterBoost } from '@ohos/flutter_boost';
import { FlutterBoost } from 'flutter_boost';
import { FlutterUIComponent } from './FlutterUIComponent';
import { FlutterUIPage } from './FlutterUIPage';
import { FlutterUIDialog } from './FlutterUIDialog';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Curves from '@ohos.curves'
import hilog from '@ohos.hilog';
import { FlutterBoostEntry } from '@ohos/flutter_boost';
import { FlutterBoostEntry } from 'flutter_boost';
import { FlutterPage, FlutterView } from '@ohos/flutter_ohos';

const TAG: string = "FlutterUIComponent";
Expand Down
2 changes: 1 addition & 1 deletion example/ohos/entry/src/main/ets/pages/FlutterUIDialog.ets
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import hilog from '@ohos.hilog';
import { FlutterBoostEntry } from '@ohos/flutter_boost';
import { FlutterBoostEntry } from 'flutter_boost';
import { FlutterPage, FlutterView } from '@ohos/flutter_ohos';
import { RouterOptions } from '../router/RouterModule';

Expand Down
2 changes: 1 addition & 1 deletion example/ohos/entry/src/main/ets/pages/FlutterUIPage.ets
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import hilog from '@ohos.hilog';
import { FlutterBoostEntry } from '@ohos/flutter_boost';
import { FlutterBoostEntry } from 'flutter_boost';
import { FlutterPage, FlutterView } from '@ohos/flutter_ohos';
import { RouterOptions } from '../router/RouterModule';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import { CommonParams } from '@ohos/flutter_boost';
import { CommonParams } from 'flutter_boost';

export default function CommonParamsTest() {
describe('fromObject', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
FlutterBoostAbility,
FlutterBoostSetupOptions,
FlutterBoostSetupOptionsBuilder
} from '@ohos/flutter_boost'
} from 'flutter_boost'
import common from '@ohos.app.ability.common';
import FlutterEngine from '@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine';
import EntryAbility from '../../../main/ets/entryability/EntryAbility';
Expand Down

0 comments on commit 9d5b42f

Please sign in to comment.