updated tests
This commit is contained in:
parent
8ee618101b
commit
6119d58951
|
@ -159,7 +159,7 @@ class MyChromeSafariBrowser extends ChromeSafariBrowser {
|
|||
@override
|
||||
void onPostMessage(String message) {
|
||||
if (!postMessageReceived.isCompleted) {
|
||||
postMessageReceived.complete();
|
||||
postMessageReceived.complete(message);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -504,7 +504,8 @@ class ChromeSafariBrowser extends ChannelController {
|
|||
///
|
||||
///**Supported Platforms/Implementations**:
|
||||
///- Android ([Official API - CustomTabsClient.getPackageName](https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsClient#getPackageName(android.content.Context,java.util.List%3Cjava.lang.String%3E,boolean))))
|
||||
static Future<String?> getPackageName({List<String>? packages, bool ignoreDefault = false}) async {
|
||||
static Future<String?> getPackageName(
|
||||
{List<String>? packages, bool ignoreDefault = false}) async {
|
||||
Map<String, dynamic> args = <String, dynamic>{};
|
||||
args.putIfAbsent("packages", () => packages);
|
||||
args.putIfAbsent("ignoreDefault", () => ignoreDefault);
|
||||
|
|
Loading…
Reference in New Issue