react-native-share icon indicating copy to clipboard operation
react-native-share copied to clipboard

File Extension Duplicated on Android During Sharing

Open fix-me opened this issue 1 year ago • 0 comments

Steps to reproduce

  1. Open the app
  2. Navigate to the share functionality
  3. Select a .pdf file for sharing using a filename with single extension "example.pdf" and base64 data as url

Expected behavior

The .pdf file should be shared with the correct extension on both iOS and Android.

Actual behavior

On Android, the .pdf file extension is added twice during the sharing process.

Environment

  • React Native version: 0.72.6
  • React Native platform + platform version: iOS latest, Android latest
  • Typescript version: 5.2.2

react-native-share

Version: 9.4.1

Note

The latest version of react-native-share is 10.0.2. Due to budget considerations, we haven't verified if the issue is resolved in this version. We would appreciate guidance on whether updating to version 10.0.2 is recommended and if it addresses the mentioned issue.

fix-me avatar Feb 07 '24 16:02 fix-me