Skip to content

Commit 4559a1d

Browse files
committed
chore: bump packages to 0.1.2
1 parent 8a84ed8 commit 4559a1d

5 files changed

Lines changed: 16 additions & 13 deletions

File tree

examples/launch_at_login_example/lib/main.dart

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ class _LaunchAtLoginExamplePageState extends State<LaunchAtLoginExamplePage> {
111111
return;
112112
}
113113
final args = _argumentsController.text.trim();
114-
final argsList =
115-
args.isNotEmpty ? args.split(RegExp(r'\s+')) : <String>[];
114+
final argsList = args.isNotEmpty ? args.split(RegExp(r'\s+')) : <String>[];
116115
setState(() => _isBusy = true);
117116
final success = _launchAtLogin.setProgram(path, argsList);
118117
setState(() => _isBusy = false);
@@ -154,10 +153,7 @@ class _LaunchAtLoginExamplePageState extends State<LaunchAtLoginExamplePage> {
154153
body: ListView(
155154
padding: const EdgeInsets.all(20),
156155
children: [
157-
Text(
158-
'Manage launch-at-login',
159-
style: theme.textTheme.headlineSmall,
160-
),
156+
Text('Manage launch-at-login', style: theme.textTheme.headlineSmall),
161157
const SizedBox(height: 8),
162158
Text(
163159
'Use the LaunchAtLogin API to register your app to launch automatically at user login.',
@@ -255,10 +251,7 @@ class _LaunchAtLoginExamplePageState extends State<LaunchAtLoginExamplePage> {
255251
child: Column(
256252
crossAxisAlignment: CrossAxisAlignment.start,
257253
children: [
258-
Text(
259-
'Display Name',
260-
style: theme.textTheme.titleMedium,
261-
),
254+
Text('Display Name', style: theme.textTheme.titleMedium),
262255
const SizedBox(height: 8),
263256
TextField(
264257
controller: _displayNameController,

packages/cnativeapi/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.1.2
2+
3+
* Add LaunchAtLogin C bindings
4+
15
## 0.1.1
26

37
* Add multi-platform FFI C bindings (Android, iOS, Linux, macOS, Windows)

packages/cnativeapi/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: cnativeapi
22
description: "Native API C bindings for Flutter"
3-
version: 0.1.1
3+
version: 0.1.2
44
homepage: https://github.com/libnativeapi/nativeapi-flutter
55
resolution: workspace
66

packages/nativeapi/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.1.2
2+
3+
* Add `LaunchAtLogin` API for managing app startup at user login
4+
* Fix bindgen Dart template generation for `LaunchAtLogin` string-array arguments
5+
* Fix bindgen Dart template generation for static native API calls
6+
17
## 0.1.1
28

39
* Add `WindowManager` API with full lifecycle support (show, hide, center, pre-show/pre-hide hooks, visual effects, title bar style, control buttons)

packages/nativeapi/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nativeapi
22
description: "Flutter bindings for nativeapi - providing seamless, unified access to native system APIs."
3-
version: 0.1.1
3+
version: 0.1.2
44
homepage: https://github.com/libnativeapi/nativeapi-flutter
55
resolution: workspace
66

@@ -12,7 +12,7 @@ dependencies:
1212
ffi: ">=1.2.1 <3.0.0"
1313
flutter:
1414
sdk: flutter
15-
cnativeapi: ^0.1.1
15+
cnativeapi: ^0.1.2
1616
path: ^1.9.1
1717
meta: ^1.16.0
1818

0 commit comments

Comments
 (0)