https://github.com/vladleesi/kmp-sharekit
Kotlin multiplatform library that implements content sharing for Android & iOS platforms. Share text, images, and video seamlessly.
https://github.com/vladleesi/kmp-sharekit
kotlin kotlin-android kotlin-ios kotlin-multiplatform kotlin-multiplatform-library shared-library
Last synced: 8 months ago
JSON representation
Kotlin multiplatform library that implements content sharing for Android & iOS platforms. Share text, images, and video seamlessly.
- Host: GitHub
- URL: https://github.com/vladleesi/kmp-sharekit
- Owner: vladleesi
- License: apache-2.0
- Created: 2023-07-28T22:24:33.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-01T04:39:52.000Z (about 2 years ago)
- Last Synced: 2025-01-05T10:12:35.852Z (9 months ago)
- Topics: kotlin, kotlin-android, kotlin-ios, kotlin-multiplatform, kotlin-multiplatform-library, shared-library
- Language: Kotlin
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# KMP-ShareKit
[](LICENSE)
### Overview
Kotlin multiplatform library that implements content sharing for Android & iOS platforms. Share text, images, and video seamlessly.
| Content type | Status |
|----------|--------|
| text/plain | ✅ |
| text/html | 👷 |
| image/* | 👷 |
| video/* | 👷 |### Getting Started
#### Android
You need to implement the 'activityProvider' to provide the required Activity.
```kotlin
// MainActivity.ktShareKit.setActivityProvider { return@setActivityProvider this }
```### Usage
```kotlin
ShareKit.shareText(text)
```