Skip to content

Commit 26e4e1c

Browse files
committed
Release 4.5.0
1 parent 7f6fbb5 commit 26e4e1c

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## NEXT
22

3+
## 4.5.0
4+
1. 适配鸿蒙
5+
36
## 4.4.2
47
1. 将AGP的版本从7.0.4降回3.3.0
58

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</p>
77

88
# Release Note
9-
## 4.4.2
9+
## 4.5.0
1010

1111
PS:Null-safety is already supported.
1212

@@ -41,7 +41,7 @@ Open you pubspec.yaml and add the following line to dependencies:
4141
flutter_boost:
4242
git:
4343
url: 'https://github.com/alibaba/flutter_boost.git'
44-
ref: '4.4.1'
44+
ref: '4.5.0'
4545
```
4646
4747

README_CN.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Release Note
77

8-
## 4.4.2
8+
## 4.5.0
99

1010
PS:主线已支持空安全(null-safety)
1111

@@ -40,7 +40,7 @@ PS:主线已支持空安全(null-safety)
4040
flutter_boost:
4141
git:
4242
url: 'https://github.com/alibaba/flutter_boost.git'
43-
ref: '4.4.1'
43+
ref: '4.5.0'
4444
```
4545

4646
# 使用文档

docs/install.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
flutter_boost:
1919
git:
2020
url: 'https://github.com/alibaba/flutter_boost.git'
21-
ref: '4.4.2'
21+
ref: '4.5.0'
2222
```
2323
2424
之后在flutter工程下运行`flutter pub get` dart端就集成完毕了,然后可以在dart端放上一些代码,以下代码基于example3.0
@@ -320,7 +320,7 @@ class BoostDelegate: NSObject,FlutterBoostDelegate {
320320
//创建代理,做初始化操作
321321
let delegate = BoostDelegate()
322322
FlutterBoost.instance().setup(application, delegate: delegate) { engine in
323-
323+
324324
}
325325
```
326326

@@ -342,7 +342,7 @@ async onCreate(want: Want, launchParam: AbilityConstant.LaunchParam) {
342342
onDestroy(): void {
343343
FlutterManager.getInstance().popUIAbility(this);
344344
}
345-
345+
346346
onWindowStageCreate(windowStage: window.WindowStage): void {
347347
FlutterManager.getInstance().pushWindowStage(this, windowStage)
348348
}
@@ -378,7 +378,7 @@ export default class EntryAbility extends UIAbility implements FlutterBoostDeleg
378378
})
379379
}
380380
onWindowStageCreate(windowStage: window.WindowStage): void {
381-
381+
382382
// 初始化启动参数(建议带上GeneratedPluginRegistrant.getPlugins())
383383
const optionsBuilder: FlutterBoostSetupOptionsBuilder = new FlutterBoostSetupOptionsBuilder()
384384
.setPlugins(GeneratedPluginRegistrant.getPlugins());

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_boost
22
description: A next-generation Flutter-Native hybrid solution. FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts.
3-
version: 4.4.2
3+
version: 4.5.0
44

55
homepage: https://github.com/alibaba/flutter_boost
66

0 commit comments

Comments
 (0)