Commit d4bba0db by Karthik

v2.2.6

parent cda95041
## [2.2.6]
* removed androidx
## [2.2.5]
* Cannot build because of dependency w/ v28 #47
## [2.2.4] ## [2.2.4]
* androidX crash fix #45 * androidX crash fix #45
......
...@@ -7,11 +7,13 @@ Android and iOS Toast Library for Flutter ...@@ -7,11 +7,13 @@ Android and iOS Toast Library for Flutter
> * Android > * Android
> * IOS > * IOS
If your project uses androidx then use `fluttertoast` version `2.2.4` or `2.2.5`
## How to Use ## How to Use
```yaml ```yaml
# add this line to your dependencies # add this line to your dependencies
fluttertoast: ^2.2.4 fluttertoast: ^2.2.6
``` ```
```dart ```dart
......
...@@ -31,26 +31,8 @@ android { ...@@ -31,26 +31,8 @@ android {
lintOptions { lintOptions {
disable 'InvalidPackage' disable 'InvalidPackage'
} }
configurations.all {
resolutionStrategy.force "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01"
resolutionStrategy.force "androidx.arch.core:core-runtime:2.0.0-rc01"
resolutionStrategy.force "androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01"
resolutionStrategy.force "androidx.documentfile:documentfile:1.0.0-rc01"
resolutionStrategy.force "androidx.fragment:fragment:1.0.0-rc01"
resolutionStrategy.force "androidx.customview:customview:1.0.0-rc01"
resolutionStrategy.force "androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01"
resolutionStrategy.force "androidx.legacy:legacy-support-core-utils:1.0.0-rc01"
resolutionStrategy.force "androidx.interpolator:interpolator:1.0.0-rc01"
resolutionStrategy.force "androidx.core:core:1.0.0-rc01"
resolutionStrategy.force "androidx.viewpager:viewpager:1.0.0-rc01"
resolutionStrategy.force "androidx.drawerlayout:drawerlayout:1.0.0-rc01"
resolutionStrategy.force "androidx.legacy:legacy-support-core-ui:1.0.0-rc01"
resolutionStrategy.force "androidx.cursoradapter:cursoradapter:1.0.0-rc01"
resolutionStrategy.force "androidx.loader:loader:1.0.0-rc01"
}
} }
dependencies { dependencies {
implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'com.android.support:appcompat-v7:27.1.1'
} }
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
\ No newline at end of file
...@@ -8,7 +8,7 @@ import android.view.Gravity; ...@@ -8,7 +8,7 @@ import android.view.Gravity;
import android.widget.TextView; import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import androidx.core.content.ContextCompat; import android.support.v4.content.ContextCompat;
import io.flutter.plugin.common.MethodCall; import io.flutter.plugin.common.MethodCall;
import io.flutter.plugin.common.MethodChannel; import io.flutter.plugin.common.MethodChannel;
import io.flutter.plugin.common.MethodChannel.MethodCallHandler; import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
......
name: fluttertoast name: fluttertoast
description: Toast Library for FLutter description: Toast Library for FLutter
version: 2.2.4 version: 2.2.6
author: Karthik Ponnam <ponnamkarthik3@gmail.com> author: Karthik Ponnam <ponnamkarthik3@gmail.com>
homepage: https://github.com/PonnamKarthik/FlutterToast homepage: https://github.com/PonnamKarthik/FlutterToast
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment