light_compressor
light_compressor copied to clipboard
New Release Have lots isssue version light_compressor 2.1.0
Hello Developer,
I used you compressor it has lots of problem with new version.
- Its increase build size 50 MB once i update from older version.
- The progress Stream is not workikng.
- Also show some exo based random errors comes through this plugin as well.
- It force to update minium sdk to 24.But still lots of android audiance is uses 21 SDK all around world
@AbedElazizShe Please update this version. I like to add to my project. At least resolve the first 3 issues on priority.
Hi @parmeetmaster , Could you please share some logs, device model, android version, etc?
PubSpec Yaml
`name: spice_impact_new description: New spice impact updated
The following line prevents the package from being accidentally published to
pub.dev using flutter pub publish
. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
The following defines the version and build number for your application.
A version number is three numbers separated by dots, like 1.2.43
followed by an optional build number separated by a +.
Both the version and the builder number may be overridden in flutter
build by specifying --build-name and --build-number, respectively.
In Android, build-name is used as versionName while build-number used as versionCode.
Read more about Android versioning at https://developer.android.com/studio/publish/versioning
In iOS, build-name is used as CFBundleShortVersieonString while build-number is used as CFBundleVersion.
Read more about iOS versioning at
https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
In Windows, build-name is used as the major, minor, and patch parts
of the product and file versions while build-number is used as the build suffix.
version: 2.0.54+54
environment: sdk: '>=2.19.6 <3.0.0'
dependencies: awesome_dialog: ^3.1.0 another_flushbar: ^1.12.30 cached_network_image: ^3.2.3 circular_profile_avatar: ^2.0.5 cupertino_icons: ^1.0.6 dartz: ^0.10.1 device_info_plus: ^9.0.3 dotted_border: ^2.0.0+3 file_picker: ^5.5.0 file_support: ^1.0.7 firebase_analytics: ^10.4.5 firebase_core: ^2.15.1 firebase_crashlytics: ^3.3.5 firebase_messaging: ^14.6.7 flutter: sdk: flutter
flutter_easyloading: ^3.0.5
flutter_rating_bar: ^4.0.1 flutter_screenutil: ^5.9.0 flutter_secure_storage: 8.0.0 # no update unstable flutter_svg: ^2.0.7 flutter_email_sender: ^6.0.1 font_awesome_flutter: ^10.5.0 freezed_annotation: ^2.4.1 geolocator: ^10.0.0 flutter_spinkit: ^5.2.0 get: ^4.6.5 google_fonts: ^5.1.0 google_sign_in: ^6.1.5 image_picker: ^1.0.4 injectable: ^2.3.0 intl: ^0.18.1 json_annotation: ^4.8.1 package_info_plus: ^4.1.0 path: ^1.8.2 path_provider: ^2.1.1 percent_indicator: ^4.2.3 permission_handler: ^10.4.3 platform_device_id: ^1.0.1 #pretty_dio_logger: ^1.1.1 pull_to_refresh_flutter3: ^2.0.1 #quiver: ^3.0.1 share_plus: ^7.1.0 shared_preferences: ^2.2.1 solid_bottom_sheet: ^0.1.10 #sqflite: ^2.0.0+3 #ssl_pinning_plugin: ^2.0.0 step_progress_indicator: ^1.0.2 #store_redirect: ^2.0.0 timeago: ^3.5.0 toggle_switch: ^2.1.0 video_player: ^2.7.0 visibility_detector: ^0.4.0+2
launch_review: ^3.0.1
location: ^4.4.0
flutter_html: 2.2.1
open_settings: ^2.0.2 flutter_phoenix: ^1.1.1 connectivity_plus: ^4.0.2
qr_code_scanner: ^1.0.1
in_app_review: ^2.0.4
hexcolor: ^3.0.1
light_compressor: ^1.2.2
dio: ^5.3.2
youtube_player_flutter: ^8.1.2
undeclared dependency
url_launcher: ^6.1.12 sticky_headers: ^0.3.0+2 syncfusion_flutter_datagrid: ^22.2.8 light_compressor: 2.0.1 # no update unstable video_thumbnail: ^0.5.3 badges: ^3.1.1
mime: ^1.0.3
exif: ^3.1.2
chewie: ^1.7.0 auto_size_text: ^3.0.0 firebase_auth: ^4.7.2 camera: ^0.10.5+2 google_maps_flutter: ^2.4.0 fluttertoast: ^8.2.2 material_dialogs: ^1.1.4 flutter_typeahead: ^4.6.2 lottie: ^2.5.0 flutter_advanced_switch: ^3.0.1 firebase_performance: ^0.9.2+4 flutter_image_compress: ^2.0.4
collection: ^1.18.0
dev_dependencies: build_runner: ^2.4.4 pretty_dio_logger: ^1.3.1 change_app_package_name: ^1.1.0 flutter_launcher_icons: ^0.13.1 flutter_lints: ^2.0.1 flutter_test: sdk: flutter freezed: ^2.3.4 injectable_generator: ^2.1.5 json_serializable: ^6.7.0 logger: ^1.3.0 rename: ^2.1.1 colorize: ^3.0.0
flutter_icons: android: "launcher_icon" ios: true image_path: "assets/png/icon.png"
dependency_overrides: meta: ^1.9.1 win32: ^4.1.3 http: ^1.0.0 image_picker: ^0.8.7+5 flutter_image_compress: ^2.0.4
collection: ^1.18.0
#temp add remove if any error comes in future #dependency_validator: ^3.1.0
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
assets: - assets/ - assets/svg/ - assets/png/ - assets/anim/
To add assets to your application, add an assets section, like this:
assets:
- images/a_dot_burr.jpeg
- images/a_dot_ham.jpeg
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/#resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/#from-packages
To add custom fonts to your application, add a fonts section here,
in this "flutter" section. Each entry in this list should have a
"family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: Schyler
fonts:
- asset: fonts/Schyler-Regular.ttf
- asset: fonts/Schyler-Italic.ttf
style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700
For details regarding fonts from package dependencies,
see https://flutter.dev/custom-fonts/#from-packages
` --------------------------------Gradle--------------------------------------------------------- def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } }
def flutterRoot = localProperties.getProperty('flutter.sdk') if (flutterRoot == null) { throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") }
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { flutterVersionCode = '1' }
def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { flutterVersionName = '1.0' }
apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.firebase-perf' apply plugin: 'com.google.firebase.crashlytics'
android { compileSdkVersion 33 // ndkVersion flutter.ndkVersion ndkVersion "25.1.8937393" compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.sales.track"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 21
// targetSdkVersion flutter.targetSdkVersion
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
vectorDrawables.useSupportLibrary true
}
buildTypes {
release {
ndk { abiFilters "armeabi", "x86", "armeabi-v7a","x86_64", "mips",
"mips64","arm64-v8a"}
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter { source '../..' }
dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation platform('com.google.firebase:firebase-bom:30.2.0')
// Add the dependency for the Firebase SDK for Google Analytics
// When using the BoM, don't specify versions in Firebase dependencies
implementation 'com.google.firebase:firebase-analytics'
/* Dependencies for Vidus SDK */
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.7.0'
// Vidus Core Dependency
implementation 'com.frslabs.android.sdk:vidus:3.1.2'
// OPTIONAL - Required if transaction based billing is enabled
// Vidus billing dependencies
implementation 'com.frslabs.android.sdk:torus:1.0.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.github.AbedElazizShe:LightCompressor:1.2.3'
implementation 'com.google.android.gms:play-services-location:21.0.1'
implementation 'com.google.firebase:firebase-perf'
} ------------------------------------Device Details and other details-------------------------------------------
- RealMe 8s pro
- Andoid version 13
Logs are not generating since i remove newer version its shows exo player dependencies please check.
I don't know what you have just shared. Can you send me the part with "lots issues" please?