achorein / expo-share-intent

🚀 Simple share intent in an Expo Native Module
MIT License
174 stars 15 forks source link

feat: retreive file size #42

Closed achorein closed 6 months ago

achorein commented 6 months ago

Summary

In order to know if we have to resize the given file (media like images), this PR add the shared file size in octets.

export interface ShareIntentFile {
  path: string;
  mimeType: string;
  fileName: string;
  size: number | null;
}

Todo

Issue

https://github.com/achorein/expo-share-intent/issues/34

https://github.com/achorein/expo-share-intent/issues/40