diff --git a/lib/receive_intent.dart b/lib/receive_intent.dart index 7a74aa6..c9b2bac 100644 --- a/lib/receive_intent.dart +++ b/lib/receive_intent.dart @@ -10,7 +10,7 @@ class Intent { final bool isNull; final String? fromPackageName; final List? fromSignatures; - final String action; + final String? action; final String? data; final List? categories; final Map? extra; @@ -21,7 +21,7 @@ class Intent { this.isNull = true, this.fromPackageName, this.fromSignatures, - required this.action, + this.action, this.data, this.categories, this.extra, diff --git a/pubspec.yaml b/pubspec.yaml index fa3e04a..845827a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: receive_intent 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 environment: