Skip to content

Commit

Permalink
tested for firebase dynamic links url preview
Browse files Browse the repository at this point in the history
  • Loading branch information
lielb100 committed Oct 30, 2021
1 parent d80701f commit e71f0b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion lib/helper/utility.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class Utility {
uriPrefix: 'https://fwitterdev.page.link',
link: Uri.parse('https://twitter.com/$id'),
androidParameters: AndroidParameters(
packageName: 'com.thealphamerc.third_state_dev',
packageName: 'com.thealphamerc.fwitter_dev',
minimumVersion: 0,
),
dynamicLinkParametersOptions: DynamicLinkParametersOptions(
Expand Down
3 changes: 0 additions & 3 deletions lib/widgets/url_text/link_preview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ class LinkPreviewer extends StatelessWidget {
var uri = url ?? getUrl();
if (uri == null) {
return const SizedBox.shrink();
} else if (uri.contains("page.link/")) {
/// `flutter_link_preview` package is unable to fetch firebase dynamic link meta data
return const SizedBox.shrink();
}
if (state.linkWebInfos.containsKey(uri))
return _buildLinkPreview(
Expand Down

0 comments on commit e71f0b9

Please sign in to comment.