Native Share Plugin Cross Platform

Native Share Plugin Cross Platform

A lightweight Unity plugin that enables native sharing functionality on Android and iOS, allowing developers to share text, links, images, screenshots, and files directly through the device's native share sheet. Built for easy integration and seamless cross-platform support.

UnityC#Android Native IntentsiOS UIActivityViewControllerMobile SDK Integration

Overview

Native Share Plugin for Unity Native Share Plugin is a simple and efficient Unity package that allows mobile applications to invoke the device's native sharing interface on Android and iOS. Developers can easily share text, URLs, screenshots, images, documents, and other files with social media apps, messaging platforms, email clients, and more.

The Problem

Unity does not provide a built-in, cross-platform solution for invoking native mobile sharing dialogs. Developers often need to write separate Android and iOS implementations or integrate multiple third-party SDKs to enable sharing features such as screenshots, referral links, achievements, and media content.

The Solution

Developed a unified Unity plugin that abstracts platform-specific native sharing APIs behind a simple C# interface. The plugin automatically opens the device's native share sheet, allowing developers to share text, URLs, screenshots, images, videos, documents, and files without writing platform-specific code.

System Design

Unity Game/App → Native Share Manager → Platform Bridge Layer → Android Intent API / iOS UIActivityViewController → Native Share Sheet → Installed Apps (WhatsApp, Gmail, Instagram, Telegram, etc.) Media files (Images, Screenshots, Documents) are temporarily stored on the device, converted into platform-compatible URIs, and passed to the native sharing APIs. The platform bridge handles Android and iOS-specific implementations while exposing a single C# API to Unity developers.

More Projects