Commit 5bf033a5 by Karthik Ponnam

resource compact android fix:

parent b3e83934
## [3.1.0]
- Migrated to AndroidX
##[3.0.6]
- iOS build failed fixed
......
......@@ -13,7 +13,7 @@ If you dont want to use androidx then use `fluttertoast` version `2.2.11`
```yaml
# add this line to your dependencies
fluttertoast: ^3.0.6
fluttertoast: ^3.1.0
```
```dart
......
......@@ -40,5 +40,5 @@ android {
}
dependencies {
// implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:support-compat:28.0.0'
implementation 'androidx.core:core:1.0.2'
}
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536M
\ No newline at end of file
......@@ -3,8 +3,8 @@ package io.github.ponnamkarthik.toast.fluttertoast;
import android.content.Context;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.support.v4.content.res.ResourcesCompat;
import androidx.core.content.res.ResourcesCompat;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
......
name: fluttertoast
description: Toast Library for FLutter
version: 3.0.6
version: 3.1.0
author: Karthik Ponnam <ponnamkarthik3@gmail.com>
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