react-native-share / react-native-share

Social share, sending simple data to other apps.

Home Page:https://react-native-share.github.io/react-native-share

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Extension Duplicated on Android During Sharing

fix-me opened this issue · 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.