UNPKG

expo-sharing

Version:

Provides a way to share files directly with other compatible applications.

12 lines (9 loc) 413 B
import path from 'path'; export function getTemplateFilesPath(platform: 'android' | 'ios') { const packagePath = path.dirname(require.resolve('expo-sharing/package.json')); return path.join(packagePath, '/plugin/template-files/ios'); } export function getSharedFilesPath() { const packagePath = path.dirname(require.resolve('expo-sharing/package.json')); return path.join(packagePath, '/ios/shared'); }