share_me 0.0.14 copy "share_me: ^0.0.14" to clipboard
share_me: ^0.0.14 copied to clipboard

ShareMe is a Flutter plugin that allows for easy sharing in iOS and Android apps. It utilizes native share menus to share content such as text, images, and links with other installed apps. It has a si [...]

share_me #

ShareMe is a package that uses native code to share content on iOS and Android devices in an easy, fast, and simple way.

Introduction #

Works on both platforms iOS and Android

Two options are provided at the moment: ShareMe.system() and ShareMe.file()

Usage #

Android Configuration #

Paste the following attribute in the manifest tag in the android/app/src/main/AndroidManifest.xml:

 		`xmlns:tools="http://schemas.android.com/tools"`
For example:
        <manifest xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                package="your package...">

Add this piece of code in the manifest/application in the android/app/src/main/AndroidManifest.xml:

    <provider android:name="androidx.core.content.FileProvider" 
            android:authorities="${applicationId}.fileprovider" 
            android:exported="false" 
            android:grantUriPermissions="true" 
            tools:replace="android:authorities">
            <meta-data 
                android:name="android.support.FILE_PROVIDER_PATHS" 
                android:resource="@xml/file_paths"/>
    </provider>

Create a xml file named file_paths.xml in the app/src/main/res/xml folder and paste this code in the file :

            <paths>
                <cache-path
                    name="cache"
                    path="." />
            </paths>

iOS Configuration #

Add this to your Info.plist to use ShareMe.file()

    <key>NSPhotoLibraryUsageDescription</key>
    <string>Need gallery permissions</string>

Here's few demo! #

Share on iOS #

Share on Android #

Buy me a ☕ !! #

((More coffee == more code) == faster updates)

Donate

6
likes
0
pub points
51%
popularity

Publisher

verified publisherthemonstersapp.com

ShareMe is a Flutter plugin that allows for easy sharing in iOS and Android apps. It utilizes native share menus to share content such as text, images, and links with other installed apps. It has a simple interface with flexible configuration options. Save time by quickly integrating ShareMe into your Flutter app and provide your users with a fast and convenient way to share content!

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on share_me