Skip to content

kodal/receive_sharing_intent_web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

receive_sharing_intent_web

A receive_sharing_intent implementation on web platform

Limits

Currently receive only text on Android Chrome PWA App with getInitialMedia.

Usage

To use this plugin, add receive_sharing_intent_web along with receive_sharing_intent as a dependency in your pubspec.yaml file. For example:

dependencies:
  receive_sharing_intent: ^1.6.7
  receive_sharing_intent_web: ^0.0.1

Web

Add to web/manifest.json:

{
  ...
  "share_target": {
    "action": "/",
    "method": "GET",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url"
    }
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published