-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android filename base64 is not working #611
Comments
Looking at the sources, i found the possible problem, in the repo the class ShareIntent has a method called getFileShare
but on the version published on the npm, the source look like this
|
@brunojs02 thanks for looking deeper. |
i haven't tested yet, i don't use base64 on iOS. |
@jgcmarins when a new release will be available with this feature? |
is it ok on master branch? |
Only work on shareSingle method. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and i will leave this open. |
Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you. |
This issue has not been fixed, I still have the same problem as described in the first message. |
version |
3.1.1 and 3.5.0 not working for me in IOs. |
Steps to reproduce
Expected behaviour
When I call Share.open({ filename: 'myimage', url: '...' }), I want that file exported to gmail with the filename passed to open method.
Actual behaviour
The actual filename is the current timestamp.
Environment
react-native-share
2.0.0
code example
// App.js
import React from 'react';
import {View, Button} from 'react-native';
import Share from 'react-native-share';
import {image} from './mock.json'; // image in base64
export default () => (
<View style={{flex: 1, alignItems: 'center', justifyContent: 'center'}}>
<Button title="Share" onPress={() => Share.open({filename: 'myfilename', url: image})} />
);
Link to repo (highly encouraged)
Project
The text was updated successfully, but these errors were encountered: