Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* Update plugin structure #134

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions image_editor_ohos/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.8

* Update plugin structure

## 0.0.7

* Update hvigor to 4.1.2
Expand Down
29 changes: 29 additions & 0 deletions image_editor_ohos/example/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
2 changes: 1 addition & 1 deletion image_editor_ohos/example/ohos/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ entry/libs/arm64-v8a/libapp.so
entry/libs/arm64-v8a/libflutter.so
entry/libs/arm64-v8a/libvmservice_snapshot.so
entry/src/main/resources/rawfile/flutter_assets/
har/flutter.har
har/*.har
oh-package-lock.json5
dta
17 changes: 1 addition & 16 deletions image_editor_ohos/example/ohos/build-profile.json5
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
/*
* Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

{
"app": {
"signingConfigs": [],
Expand All @@ -22,7 +7,7 @@
"signingConfig": "default",
"compileSdkVersion": "4.1.0(11)",
"compatibleSdkVersion": "4.1.0(11)",
"runtimeOS": "HarmonyOS",
"runtimeOS": "HarmonyOS"
}
]
},
Expand Down
22 changes: 11 additions & 11 deletions image_editor_ohos/example/ohos/entry/oh-package.json5
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
name: 'entry',
version: '1.0.0',
description: 'Please describe the basic information.',
main: '',
author: '',
license: '',
dependencies: {
'@ohos/image_editor_ohos': 'file:./har/image_editor_ohos.har',
'@ohos/path_provider_ohos': 'file:./har/path_provider_ohos.har',
'@ohos/image_picker_ohos': 'file:./har/image_picker_ohos.har',
},
"name": "entry",
"version": "1.0.0",
"description": "Please describe the basic information.",
"main": "",
"author": "",
"license": "",
"dependencies": {
"image_picker_ohos": "file:../har/image_picker_ohos.har",
"path_provider_ohos": "file:../har/path_provider_ohos.har",
"image_editor_ohos": "file:../har/image_editor_ohos.har"
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import FlutterEngine from '@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngine';
import Log from '@ohos/flutter_ohos/src/main/ets/util/Log';
import ImageEditorOhosPlugin from '@ohos/image_editor_ohos'
import ImagePickerPlugin from '@ohos/image_picker_ohos'
import PathProviderPlugin from '@ohos/path_provider_ohos'
import { FlutterEngine, Log } from '@ohos/flutter_ohos';
import ImageEditorOhosPlugin from 'image_editor_ohos';
import ImagePickerPlugin from 'image_picker_ohos';
import PathProviderPlugin from 'path_provider_ohos';

/**
* Generated file. Do not edit.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading