From b97dff454c2b3944b45ba5158baa080debe908d8 Mon Sep 17 00:00:00 2001 From: Jonathan Daniels Date: Fri, 22 Apr 2022 12:24:04 -0700 Subject: [PATCH] doc(share_repository): mention to open share links with url_launcher --- packages/share_repository/lib/src/share_repository.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/share_repository/lib/src/share_repository.dart b/packages/share_repository/lib/src/share_repository.dart index 173830d4..c39ca477 100644 --- a/packages/share_repository/lib/src/share_repository.dart +++ b/packages/share_repository/lib/src/share_repository.dart @@ -10,8 +10,9 @@ class ShareRepository { // TODO(jonathandaniels-vgv): Change to prod url. static const _shareUrl = 'https://ashehwkdkdjruejdnensjsjdne.web.app/#/'; - /// Returns a url to share the [shareText] on the given [platform]. The - /// [shareText] must have the score embedded. + /// Returns a url to share the [shareText] on the given [platform]. + /// The returned url can be opened using the [url_launcher](https://pub.dev/packages/url_launcher) package. + /// The [shareText] must have the score embedded. String shareScore({ required String shareText, required SharePlatform platform,