Skip to content

Commit

Permalink
update to 2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumard committed Jun 7, 2024
1 parent 6ebfa83 commit 93e8a4e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 2.3.1
## 2.4.0

* Fix android 14 crash
* Fix crash on phone hint
* Fix copy/paste toolbox
* Ignore platform channel for other platform than mobile
* update deps

## 2.3.0

Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.jaumard.smsautofillexample"
minSdkVersion flutter.minSdkVersion
minSdkVersion 21
targetSdkVersion 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
3 changes: 1 addition & 2 deletions lib/sms_autofill.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'dart:async';
import 'dart:io';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -328,7 +327,7 @@ class _PhoneFieldHintState extends State<_PhoneFieldHint> {
Widget build(BuildContext context) {
final decoration = widget.decoration ??
InputDecoration(
suffixIcon: Platform.isAndroid
suffixIcon: defaultTargetPlatform == TargetPlatform.android
? IconButton(
icon: Icon(Icons.phonelink_setup),
onPressed: () async {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sms_autofill
description: Flutter plugin to provide SMS code autofill support
version: 2.3.1
version: 2.4.0
homepage: https://github.com/jaumard/sms_autofill

environment:
Expand Down

0 comments on commit 93e8a4e

Please sign in to comment.