Skip to content

Commit

Permalink
Release 4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
0xZOne committed Mar 11, 2024
1 parent 7f6fbb5 commit 26e4e1c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## NEXT

## 4.5.0
1. 适配鸿蒙

## 4.4.2
1. 将AGP的版本从7.0.4降回3.3.0

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</p>

# Release Note
## 4.4.2
## 4.5.0

PS:Null-safety is already supported.

Expand Down Expand Up @@ -41,7 +41,7 @@ Open you pubspec.yaml and add the following line to dependencies:
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: '4.4.1'
ref: '4.5.0'
```
Expand Down
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Release Note

## 4.4.2
## 4.5.0

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

Expand Down Expand Up @@ -40,7 +40,7 @@ PS:主线已支持空安全(null-safety)
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: '4.4.1'
ref: '4.5.0'
```

# 使用文档
Expand Down
8 changes: 4 additions & 4 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
flutter_boost:
git:
url: 'https://github.com/alibaba/flutter_boost.git'
ref: '4.4.2'
ref: '4.5.0'
```
之后在flutter工程下运行`flutter pub get` dart端就集成完毕了,然后可以在dart端放上一些代码,以下代码基于example3.0
Expand Down Expand Up @@ -320,7 +320,7 @@ class BoostDelegate: NSObject,FlutterBoostDelegate {
//创建代理,做初始化操作
let delegate = BoostDelegate()
FlutterBoost.instance().setup(application, delegate: delegate) { engine in

}
```

Expand All @@ -342,7 +342,7 @@ async onCreate(want: Want, launchParam: AbilityConstant.LaunchParam) {
onDestroy(): void {
FlutterManager.getInstance().popUIAbility(this);
}

onWindowStageCreate(windowStage: window.WindowStage): void {
FlutterManager.getInstance().pushWindowStage(this, windowStage)
}
Expand Down Expand Up @@ -378,7 +378,7 @@ export default class EntryAbility extends UIAbility implements FlutterBoostDeleg
})
}
onWindowStageCreate(windowStage: window.WindowStage): void {

// 初始化启动参数(建议带上GeneratedPluginRegistrant.getPlugins())
const optionsBuilder: FlutterBoostSetupOptionsBuilder = new FlutterBoostSetupOptionsBuilder()
.setPlugins(GeneratedPluginRegistrant.getPlugins());
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_boost
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.
version: 4.4.2
version: 4.5.0

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

Expand Down

0 comments on commit 26e4e1c

Please sign in to comment.