Viewing version 7.2.0. Open the latest package page.

share_plus_platform_interface

7.2.0

A common platform interface for the share_plus plugin.

Download archive

Readme

Share Plus Platform Interface

Flutter Community: share_plus_platform_interface

pub package

A common platform interface for share_plus.

Usage

This package is already included as part of the share_plus package dependency, and will be included when using share_plus as normal.

Changelog

7.2.0

  • FEAT(share_plus): Avoid exceptions on iPads with no sharePositionOrigin (#3769). (d3ba3f36)

7.1.0

  • FEAT(share_plus): Lower requirements to Dart 3.10 and Flutter 3.38.1 (#3801). (d965e00e)

7.0.0

Note: This release has breaking changes.

  • BREAKING FEAT(share_plus): Bump win32 from 5.15.0 to 6.0.0 (#3762). (0e3eb918)

6.1.0

  • FEAT(share_plus): Added excludedCupertinoActivities share parameter (#3376). (f9fdadb4)

6.0.0

Note: This release has breaking changes.

  • BREAKING FEAT(share_plus): SharePlus refactor (#3404). (0a19d460)

5.0.2

  • REFACTOR(all): Use range of flutter_lints for broader compatibility (#3371). (8a303add)

5.0.1

  • FIX(share_plus): mime compatible with v2 (v1 still supported) (#3309). (401db75e)

5.0.0

Note: This release has breaking changes.

  • FIX(all): changed homepage url in pubspec.yaml (#3099). (66613656)
  • BREAKING FEAT(share_plus): Introduce optional parameter nameOverride to shareXFiles. (#3077). (f483bce7)

4.0.0

Note: This release has breaking changes.

  • BREAKING REFACTOR(share_plus): Share API cleanup (#2832). (fd0511ca)

3.4.0

  • FIX(share_plus): add sharePositionOrigin parameter to shareUri (#2517). (f896d94e)
  • FEAT(share_plus): Use XFile.name whenever possible, shorten UUID filenames, and improve I/O throughput (#2713). (734321b8)

3.3.1

  • chore(deps): bump uuid from 3.0.7 to 4.0.0

3.3.0

  • FEAT(share_plus): Allow user to share URI with preview image on the iOS native share sheet (#1779). (c83b667e)

3.2.1

  • FIX(all): Fix depreciations for flutter 3.7 and 2.19 dart (#1529).

3.2.0

  • FIX: export XFile (#1286).
  • FEAT: share XFile created using File.fromData() (#1284).

3.1.2

  • FIX: Increase min Flutter version to fix dartPluginClass registration (#1275).

3.1.1

  • Add missing dart:ui import

3.1.0

  • Add shareXFiles implementations
  • Deprecate shareFiles* implementations
  • Enable shareXFiles implementations on Web

3.0.3

  • Update dependencies

3.0.2

  • Gracefully fall back from shareWithResult to regular share methods on unsupported platforms

3.0.1

  • Set min Flutter to 1.20.0 to match Share plugins on all platforms

3.0.0

  • Add *WithResult methods to get feedback on user action

2.0.1

  • Improve documentation

2.0.0

  • Migrated to null safety

1.2.0

  • Rename method channel to avoid conflicts

1.1.0

  • Transfer to plus-plugins monorepo

1.0.0

  • Initial release

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'share_plus_platform_interface:7.2.0'
pubspec.yaml
name: share_plus_platform_interface
description: A common platform interface for the share_plus plugin.
version: 7.2.0
homepage: https://github.com/fluttercommunity/plus_plugins
repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/

dependencies:
  cross_file: ^0.3.5+2
  flutter:
    sdk: flutter
  meta: ^1.17.0
  mime: ^2.0.0
  plugin_platform_interface: ^2.1.8
  path_provider: ^2.1.5
  uuid: ">=3.0.7 <5.0.0"

dev_dependencies:
  flutter_test:
    sdk: flutter
  mockito: ^5.6.4
  flutter_lints: ^6.0.0

environment:
  sdk: ">=3.10.0 <4.0.0"
  flutter: ">=3.38.1"

Version history

VersionPublishedArchiveSHA-256
0.1.0On demandDownloadebb410a3…05f1bc
1.0.0On demandDownloadad5065b5…696524
1.1.0On demandDownload67cb8d63…4e62d0
1.2.0On demandDownload137656f5…c29a5b
2.0.0-nullsafety.0On demandDownload94d4dc35…5c59d4
2.0.0On demandDownloadfb29ac9c…7e7a7b
2.0.1On demandDownload4008efb3…474e3a
2.1.0On demandDownloada15bc981…e5cec5
3.0.0On demandDownload06b681b7…e09129
3.0.1On demandDownloadf80f6980…d86fb6
3.0.2On demandDownload64e32d66…1b3851
3.0.3On demandDownload04e7c839…39be47
3.1.0On demandDownload369d83db…bb25cf
3.1.1On demandDownload2bda81f0…5eec33
3.1.2On demandDownloadbdc228d4…f1d9d1
3.2.0On demandDownload82ddd4ab…0ab8a1
3.2.1On demandDownload0c6e6147…5a0981
3.3.0On demandDownload357412af…58aea7
3.3.1On demandDownloaddf08bc3a…d0f956
3.4.0On demandDownload251eb156…0d4496
4.0.0On demandDownload0f9e4418…82f6d4
5.0.0On demandDownload6ababf34…619db5
5.0.1On demandDownloadc57c0bbf…5f7a48
5.0.2On demandDownloadcc012a23…0a5d0b
6.0.0On demandDownload1032d392…bc19ef
6.1.0Cached · Upstream SHA-256 matchedDownload88023e53…27cc9a
7.0.0On demandDownloadccf360f7…15e734
7.1.0On demandDownload7f7ae28c…4e6ce9
7.2.0Cached · Upstream SHA-256 matchedDownload365ef737…ebae41

Dependencies

cross_file "^0.3.5+2"

flutter { "sdk": "flutter" }

meta "^1.17.0"

mime "^2.0.0"

path_provider "^2.1.5"

plugin_platform_interface "^2.1.8"

uuid "\u003e=3.0.7 \u003c5.0.0"