Mikkel Nygaard Ravn
4eed7d2732
Clarify semantics of channel-related errors ( #3607 )
...
Mainly improvements to javadoc and error logging. A bit of refactoring.
2017-04-19 21:53:46 +02:00
Mikkel Nygaard Ravn
2a4434a058
Make naming consistent across channel APIs ( #3574 )
2017-04-18 14:30:31 +02:00
Mikkel Nygaard Ravn
6aa49b5657
Add convenience accessors to get arguments from MethodCall w/o unchecked warnings ( #3559 )
2017-04-09 17:36:05 +02:00
Mikkel Nygaard Ravn
68194b8df8
Distinguish between null platform message and one with zero-byte payload ( #3577 )
2017-04-09 00:07:28 +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 afb206d373da8edc30cdd0de43bfa495ece66ab6.
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
Jason Simmons
9ebebe1040
Fix Javadoc on FlutterMethodChannel ( #3522 )
2017-03-24 18:23:51 -07:00
Chinmay Garde
1c07ea530f
Remove uses of //base from all //flutter projects and replace them with //fml variants. ( #3492 )
2017-03-22 15:42:51 -07: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
Mikkel Nygaard Ravn
b97103b441
Flutter channels for iOS ( #3470 )
...
Flutter channels now also supported on iOS. Use FlutterMessageChannel or FlutterMethodChannel with binary/string/json/standard codecs.
2017-03-13 23:57:46 +01:00
Mikkel Nygaard Ravn
f9c1f5fa53
Remove usage of JDK7 features not available until Android SDK 19+ ( #3462 )
2017-03-06 13:22:29 +01:00
Mikkel Nygaard Ravn
74de13c0bd
FlutterXxxChannel concepts added to support Flutter/Android interop ( #3446 )
...
New concepts: FlutterMessageChannel (basic message send/receive superseding existing FlutterView methods), FlutterMethodChannel (method invocation and event streams), pluggable codecs for messages and method calls: unencoded binary, string, json, and 'standard' flutter binary encoding.
2017-03-01 13:54:32 +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
Adam Barth
ca6d4fdec8
Add clipboard functionality to platform plugin ( #3139 )
...
This will eventually replace the clipboard mojom.
2016-10-17 15:46:47 -07:00
Adam Barth
d999f6c123
Remove Activity service ( #3136 )
...
This functionality has been replaced by the PlatformPlugin. Also move the
contents of //flutter/services/common to more sensible homes.
2016-10-14 16:12:01 -07:00
Adam Barth
da96a8bddd
Add SystemNavigator.pop ( #3130 )
...
This method will let us remove the activity service.
2016-10-13 14:39:03 -07:00
Adam Barth
eb25d718b0
Don't start in fullscreen mode on Android ( #3129 )
...
Fixes https://github.com/flutter/flutter/issues/6303
2016-10-13 11:10:02 -07:00
Adam Barth
e6631a69ae
Complete PlatformPlugin.java ( #3123 )
...
After this patch, the PlatformPlugin has all the required functionality on Android.
2016-10-12 14:29:57 -07:00
Adam Barth
ebb1a9f999
Add SystemChrome support to PlatformPlugin.java ( #3122 )
2016-10-12 14:09:18 -07:00
Adam Barth
e93d2c2755
Add PlatformPlugin.java ( #3121 )
...
The PlatformPlugin is the first of the built-in plugins that will replace the
mojom platform services.
2016-10-12 13:27:12 -07:00