Skip to content

Commit

Permalink
[firebase_dynamic_links] Change the OnLinkError object to be a real e…
Browse files Browse the repository at this point in the history
…xception
  • Loading branch information
mehmetf authored Aug 25, 2019
2 parents a8f1fe8 + df878bf commit 58b956f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 4 additions & 0 deletions packages/firebase_dynamic_links/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.0+2

* Change the OnLinkError object to be a real exception.

## 0.5.0+1

* Update documentation to reflect new repository location.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,8 @@ class PendingDynamicLinkDataIOS {
final String minimumVersion;
}

class OnLinkErrorException {
OnLinkErrorException._(this.code, this.message, this.details);

final String code;

final String message;

final dynamic details;
/// This object is returned by the handler when an error occurs.
class OnLinkErrorException extends PlatformException {
OnLinkErrorException._(String code, String message, dynamic details)
: super(code: code, message: message, details: details);
}
2 changes: 1 addition & 1 deletion packages/firebase_dynamic_links/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: firebase_dynamic_links
description: Flutter plugin for Google Dynamic Links for Firebase, an app solution for creating
and handling links across multiple platforms.
version: 0.5.0+1
version: 0.5.0+2

author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_dynamic_links
Expand Down

0 comments on commit 58b956f

Please sign in to comment.