Jason Simmons
834fb9638e
Simplify state management in the Android text editing plugin ( #3769 )
...
In particular, this avoids some unnecessary calls to InputMethodManager.restartInput
that caused noticeable lag when moving the cursor.
Fixes https://github.com/flutter/flutter/issues/9928
2017-06-14 10:24:41 -07:00
Chris Bracken
bd09286e4a
Improve auto-correct disabling on Android when obscureText is true ( #3731 )
...
Some keyboards (e.g., on some Samsung devices, SwiftKey) ignore
InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS and require
InputType.TYPE_TEXT_VARIATION_PASSWORD.
2017-06-02 15:50:23 -07:00
Chris Bracken
5cd58ba4fa
Add support for TextInputType.url ( #3730 )
...
Adds support for requesting a platform keyboard optimised for entering
URLs.
2017-06-02 15:13:37 -07:00
Chris Bracken
f990f8b0d3
Add support for TextInputType.emailAddress ( #3729 )
...
Adds support for requesting a platform keyboard optimised for entering
email addresses.
2017-06-02 15:04:35 -07:00
Chris Bracken
813623a3f8
Set Android keyboard actionLabel only if non-null ( #3677 )
2017-05-10 12:20:03 -07:00
Chris Bracken
ce14f6907b
Disable auto-correct for text editing when obscureText is set ( #3661 )
2017-05-09 14:55:58 -07:00
Mikkel Nygaard Ravn
2a4434a058
Make naming consistent across channel APIs ( #3574 )
2017-04-18 14:30:31 +02:00
Jason Simmons
b4088b6479
Backport JSONObject.wrap in order to support Jellybean ( #3566 )
2017-04-06 10:15:06 -07:00
Mikkel Nygaard Ravn
46255fb845
Platform channel API cleanup (retake) ( #3539 )
2017-03-29 13:43:54 +02:00
Mikkel Nygaard Ravn
8a8fc02f53
Revert "Flutter channel API cleanup ( #3532 )" ( #3538 )
...
This reverts commit afb206d373 .
2017-03-29 12:08:39 +02:00
Mikkel Nygaard Ravn
afb206d373
Flutter channel API cleanup ( #3532 )
2017-03-29 11:38:14 +02:00
Mikkel Nygaard Ravn
c4edec7417
Remove old flutter messaging API ( #3482 )
...
Breaking change: removed facilities for JSON and string messaging from FlutterView/FlutterViewController, leaving only binary messaging there. All other use of flutter communication now goes through FlutterMessageChannel and FlutterMethodChannels. Retained use of String and JSON codecs for now.
Companion flutter PR: flutter/flutter#8837
2017-03-17 09:04:59 +01:00
Jason Simmons
e573c6b5a6
Do not pass negative selection indexes to InputConnection.setSelection ( #3344 )
...
This was causing exceptions on Jellybean
2017-01-17 17:43:24 -08:00
Jason Simmons
98c18190db
Initialize the InputConnection with the text plugin's most recent state (either incoming or outgoing) ( #3283 )
...
Fixes https://github.com/flutter/flutter/issues/7033
2016-11-30 15:07:37 -08:00
Jason Simmons
5103e40b95
Set the IME action label to null if the label is null in the configuration JSON object ( #3199 )
...
(JSONObject.getString() will return the string "null" for a JSON null value)
Fixes https://github.com/flutter/flutter/issues/6643
2016-11-03 12:08:15 -07:00
Adam Barth
1bc79ded38
Number keyboard does not work on Android ( #3185 )
...
We had a typo in our decoding logic.
Fixes https://github.com/flutter/flutter/issues/6564
2016-10-28 12:26:56 -07:00
Adam Barth
525c947ece
Fix typo
2016-10-19 13:53:24 -07:00
Adam Barth
8449f7788f
Implement TextInputPlugin on Android ( #3144 )
...
This plugin will eventually replace keyboard.mojom.
2016-10-19 12:23:52 -07:00