Skip to content

Commit 6ec410e

Browse files
authored
[tizen_app_control] Remove AppManager (#407)
1 parent 5419909 commit 6ec410e

File tree

8 files changed

+12
-47
lines changed

8 files changed

+12
-47
lines changed

packages/tizen_app_control/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.2.0
2+
3+
* Remove the deprecated API `AppManager`.
4+
* Remove unnecessary dependency on tizen_app_manager.
5+
* Move `app_control.dart` into the implementation directory.
6+
17
## 0.1.2
28

39
* Add the main exporter file `tizen_app_control.dart`.

packages/tizen_app_control/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To use this package, add `tizen_app_control` as a dependency in your `pubspec.ya
1010

1111
```yaml
1212
dependencies:
13-
tizen_app_control: ^0.1.2
13+
tizen_app_control: ^0.2.0
1414
```
1515
1616
### Sending a launch request

packages/tizen_app_control/example/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ class _MyAppState extends State<MyApp> {
165165
Future<void> _terminateService() async {
166166
final AppRunningContext context = AppRunningContext(appId: _kServiceAppId);
167167
context.terminate(background: true);
168-
context.dispose();
169168
setState(() {
170169
_isServiceStarted = false;
171170
});

packages/tizen_app_control/example/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ dependencies:
1010
tizen_app_control:
1111
path: ../
1212
tizen_app_manager:
13+
path: ../../tizen_app_manager/
1314

1415
dev_dependencies:
1516
flutter_driver:

packages/tizen_app_control/lib/app_manager.dart

Lines changed: 0 additions & 38 deletions
This file was deleted.

packages/tizen_app_control/lib/app_control.dart renamed to packages/tizen_app_control/lib/src/app_control.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
import 'dart:async';
66

77
import 'package:flutter/services.dart';
8-
import 'package:tizen_app_manager/tizen_app_manager.dart';
98

10-
import 'src/ffi.dart';
11-
import 'src/utils.dart';
9+
import 'ffi.dart';
10+
import 'utils.dart';
1211

1312
/// Enumeration for the application control launch mode.
1413
///

packages/tizen_app_control/lib/tizen_app_control.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
export 'app_control.dart';
6-
export 'app_manager.dart';
5+
export 'src/app_control.dart';

packages/tizen_app_control/pubspec.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ description: Tizen application control APIs. Used for launching and terminating
33
applications on a Tizen device.
44
homepage: https://github.com/flutter-tizen/plugins
55
repository: https://github.com/flutter-tizen/plugins/tree/master/packages/tizen_app_control
6-
version: 0.1.2
6+
version: 0.2.0
77

88
dependencies:
99
ffi: ^1.1.2
1010
flutter:
1111
sdk: flutter
12-
tizen_app_manager: ^0.1.1
1312

1413
environment:
1514
sdk: ">=2.13.0 <3.0.0"

0 commit comments

Comments
 (0)