Merge pull request #840 from arthenica/development-flutter

merge flutter v6.0.3 to main
pull/842/head
Taner Sener 2 years ago committed by GitHub
commit 0713eabbbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      flutter/flutter/CHANGELOG.md
  2. 6
      flutter/flutter/README.md
  3. 8
      flutter/flutter/analysis_options.yaml
  4. 6
      flutter/flutter/android/build.gradle
  5. 2
      flutter/flutter/ios/ffmpeg_kit_flutter.podspec
  6. 4
      flutter/flutter/lib/abstract_session.dart
  7. 2
      flutter/flutter/lib/src/ffmpeg_kit_factory.dart
  8. 2
      flutter/flutter/macos/ffmpeg_kit_flutter.podspec
  9. 2
      flutter/flutter/pubspec.yaml

@ -1,3 +1,11 @@
## 6.0.3
- Bug fix release based on native v6.0
- Fixes issue 825
## 6.0.3-LTS
- Bug fix release based on native v6.0.LTS
- Fixes issue 825
## 6.0.2 ## 6.0.2
- Bug fix release based on native v6.0 - Bug fix release based on native v6.0
- Fixes version information in podspec and gradle files - Fixes version information in podspec and gradle files

@ -35,7 +35,7 @@ Add `ffmpeg_kit_flutter` as a dependency in your `pubspec.yaml file`.
```yaml ```yaml
dependencies: dependencies:
ffmpeg_kit_flutter: 6.0.2 ffmpeg_kit_flutter: 6.0.3
``` ```
#### 2.1 Packages #### 2.1 Packages
@ -58,7 +58,7 @@ using the following dependency format.
```yaml ```yaml
dependencies: dependencies:
ffmpeg_kit_flutter_<package name>: 6.0.2 ffmpeg_kit_flutter_<package name>: 6.0.3
``` ```
Note that hyphens in the package name must be replaced with underscores. Additionally, do not forget to use the package Note that hyphens in the package name must be replaced with underscores. Additionally, do not forget to use the package
@ -70,7 +70,7 @@ In order to install the `LTS` variant, append `-LTS` to the version you have for
```yaml ```yaml
dependencies: dependencies:
ffmpeg_kit_flutter: 6.0.2-LTS ffmpeg_kit_flutter: 6.0.3-LTS
``` ```
#### 2.4 LTS Releases #### 2.4 LTS Releases

@ -1,8 +1,4 @@
analyzer: analyzer:
enable-experiment:
- non-nullable
strong-mode:
implicit-dynamic: false
errors: errors:
missing_required_param: warning missing_required_param: warning
missing_return: warning missing_return: warning
@ -27,10 +23,8 @@ linter:
- file_names - file_names
- hash_and_equals - hash_and_equals
- implementation_imports - implementation_imports
- iterable_contains_unrelated_type
- join_return_with_assignment - join_return_with_assignment
- lines_longer_than_80_chars - collection_methods_unrelated_type
- list_remove_unrelated_type
- missing_whitespace_between_adjacent_strings - missing_whitespace_between_adjacent_strings
- no_runtimeType_toString - no_runtimeType_toString
- non_constant_identifier_names - non_constant_identifier_names

@ -29,8 +29,8 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 24 minSdkVersion 24
targetSdkVersion 33 targetSdkVersion 33
versionCode 602 versionCode 603
versionName "6.0.2" versionName "6.0.3"
} }
buildTypes { buildTypes {
@ -49,5 +49,5 @@ android {
dependencies { dependencies {
implementation 'androidx.annotation:annotation:1.5.0' implementation 'androidx.annotation:annotation:1.5.0'
implementation 'com.arthenica:ffmpeg-kit-https:6.0-1' implementation 'com.arthenica:ffmpeg-kit-https:6.0-2'
} }

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'ffmpeg_kit_flutter' s.name = 'ffmpeg_kit_flutter'
s.version = '6.0.2' s.version = '6.0.3'
s.summary = 'FFmpeg Kit for Flutter' s.summary = 'FFmpeg Kit for Flutter'
s.description = 'A Flutter plugin for running FFmpeg and FFprobe commands.' s.description = 'A Flutter plugin for running FFmpeg and FFprobe commands.'
s.homepage = 'https://github.com/arthenica/ffmpeg-kit' s.homepage = 'https://github.com/arthenica/ffmpeg-kit'

@ -64,7 +64,7 @@ abstract class AbstractSession extends Session {
/// ///
/// Returns FFmpeg session created. /// Returns FFmpeg session created.
static Future<FFmpegSession> createFFmpegSession(List<String> argumentsArray, static Future<FFmpegSession> createFFmpegSession(List<String> argumentsArray,
[LogRedirectionStrategy? logRedirectionStrategy = null]) async { [LogRedirectionStrategy? logRedirectionStrategy]) async {
try { try {
await FFmpegKitConfig.init(); await FFmpegKitConfig.init();
final Map<dynamic, dynamic>? nativeSession = final Map<dynamic, dynamic>? nativeSession =
@ -118,7 +118,7 @@ abstract class AbstractSession extends Session {
/// Returns FFprobe session created. /// Returns FFprobe session created.
static Future<FFprobeSession> createFFprobeSession( static Future<FFprobeSession> createFFprobeSession(
List<String> argumentsArray, List<String> argumentsArray,
[LogRedirectionStrategy? logRedirectionStrategy = null]) async { [LogRedirectionStrategy? logRedirectionStrategy]) async {
try { try {
await FFmpegKitConfig.init(); await FFmpegKitConfig.init();
final Map<dynamic, dynamic>? nativeSession = final Map<dynamic, dynamic>? nativeSession =

@ -99,7 +99,7 @@ class FFmpegKitFactory {
} }
} }
static String getVersion() => "6.0.2"; static String getVersion() => "6.0.3";
static LogRedirectionStrategy? getLogRedirectionStrategy(int? sessionId) => static LogRedirectionStrategy? getLogRedirectionStrategy(int? sessionId) =>
logRedirectionStrategyMap[sessionId]; logRedirectionStrategyMap[sessionId];

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'ffmpeg_kit_flutter' s.name = 'ffmpeg_kit_flutter'
s.version = '6.0.2' s.version = '6.0.3'
s.summary = 'FFmpeg Kit for Flutter' s.summary = 'FFmpeg Kit for Flutter'
s.description = 'A Flutter plugin for running FFmpeg and FFprobe commands.' s.description = 'A Flutter plugin for running FFmpeg and FFprobe commands.'
s.homepage = 'https://github.com/arthenica/ffmpeg-kit' s.homepage = 'https://github.com/arthenica/ffmpeg-kit'

@ -3,7 +3,7 @@ description: FFmpeg Kit for Flutter. Supports Android, iOS and macOS platforms.
repository: https://github.com/arthenica/ffmpeg-kit repository: https://github.com/arthenica/ffmpeg-kit
issue_tracker: https://github.com/arthenica/ffmpeg-kit/issues issue_tracker: https://github.com/arthenica/ffmpeg-kit/issues
homepage: https://github.com/arthenica/ffmpeg-kit homepage: https://github.com/arthenica/ffmpeg-kit
version: 6.0.2 version: 6.0.3
environment: environment:
sdk: ">=2.12.0 <4.0.0" sdk: ">=2.12.0 <4.0.0"

Loading…
Cancel
Save