Allow receipt of intents with no action (#9)

This commit is contained in:
Chris Tomlinson 2022-02-04 06:49:36 +00:00 committed by GitHub
parent 798c7cac03
commit 1aa0f00345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ class Intent {
final bool isNull; final bool isNull;
final String? fromPackageName; final String? fromPackageName;
final List<String>? fromSignatures; final List<String>? fromSignatures;
final String action; final String? action;
final String? data; final String? data;
final List<String>? categories; final List<String>? categories;
final Map<String, dynamic>? extra; final Map<String, dynamic>? extra;
@ -21,7 +21,7 @@ class Intent {
this.isNull = true, this.isNull = true,
this.fromPackageName, this.fromPackageName,
this.fromSignatures, this.fromSignatures,
required this.action, this.action,
this.data, this.data,
this.categories, this.categories,
this.extra, this.extra,

View file

@ -1,6 +1,6 @@
name: receive_intent name: receive_intent
description: Flutter plugin for passing Android Intents to the Flutter environment. description: Flutter plugin for passing Android Intents to the Flutter environment.
version: 0.1.6 version: 0.2.0
homepage: https://github.com/daadu/receive_intent homepage: https://github.com/daadu/receive_intent
environment: environment: