Commit b3a921f3 by Karthik

## [3.0.1]

* Release build failed fix
* Multiline text android fix
parent 5df60dca
## [3.0.1]
* Release build failed fix
* Multiline text android fix
## [3.0.0] ## [3.0.0]
* Migrated to AndroidX * Migrated to AndroidX
......
...@@ -13,7 +13,7 @@ If you dont want to use androidx then use `fluttertoast` version `2.2.12` ...@@ -13,7 +13,7 @@ If you dont want to use androidx then use `fluttertoast` version `2.2.12`
```yaml ```yaml
# add this line to your dependencies # add this line to your dependencies
fluttertoast: ^3.0.0 fluttertoast: ^3.0.1
``` ```
```dart ```dart
......
...@@ -22,7 +22,7 @@ rootProject.allprojects { ...@@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 27 compileSdkVersion 28
defaultConfig { defaultConfig {
minSdkVersion 16 minSdkVersion 16
...@@ -34,6 +34,6 @@ android { ...@@ -34,6 +34,6 @@ android {
} }
dependencies { dependencies {
implementation 'androidx.appcompat:appcompat:1.0.0-beta01' implementation 'androidx.appcompat:appcompat:1.1.0-alpha02'
implementation 'androidx.core:core:1.0.0-beta01' implementation 'androidx.core:core:1.1.0-alpha04'
} }
...@@ -85,7 +85,6 @@ public class FluttertoastPlugin implements MethodCallHandler { ...@@ -85,7 +85,6 @@ public class FluttertoastPlugin implements MethodCallHandler {
final TextView text = toast.getView().findViewById(android.R.id.message); final TextView text = toast.getView().findViewById(android.R.id.message);
if(textSize != null) if(textSize != null)
text.setTextSize(textSize.floatValue()); text.setTextSize(textSize.floatValue());
text.setMaxLines(1);
if(bgcolor != null) { if(bgcolor != null) {
......
...@@ -58,6 +58,6 @@ dependencies { ...@@ -58,6 +58,6 @@ dependencies {
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.2-alpha01' androidTestImplementation 'androidx.test:runner:1.1.2-alpha01'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.2-alpha01' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.2-alpha01'
implementation 'androidx.appcompat:appcompat:1.0.2' implementation 'androidx.appcompat:appcompat:1.1.0-alpha02'
implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
} }
name: fluttertoast name: fluttertoast
description: Toast Library for FLutter description: Toast Library for FLutter
version: 3.0.0 version: 3.0.1
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