Skip to content
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

Share video in SnapChat only opens the app, don't open a video in it though #614

Closed
serhii-kucherenko opened this issue Oct 28, 2019 · 5 comments
Labels
bug first seen issue help wanted os: android stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@serhii-kucherenko
Copy link

serhii-kucherenko commented Oct 28, 2019

Steps to reproduce

  1. create a function with code:
	Share.shareSingle({
    	url: `data:video/mp4;base64,${videoBase64Data}`,
    	type: 'video/mp4',
    	filename: 'Video',
    	social: 'snapchat',
 	})
  1. Run it on press Button

Expected behaviour

It should open a SnapChat app and pass a selected video to the SnapChat app

Actual behaviour

Only opens a SnapChat app without passing video. No errors are showing.

Environment

  • React Native version: 0.61:
  • React Native platform + platform version: Android all versions

react-native-share

Version: 2.0

Link to repo (highly encouraged)

https://github.com/

https://github.com/cherenkor/harmix-react-native

@jgcmarins
Copy link
Member

does it happens on both platforms?

@serhii-kucherenko
Copy link
Author

I've tried only on Android - real device and simulators

@Andrfas
Copy link

Andrfas commented Nov 27, 2019

I got this working in my app.
We're providing path to local file in url field. You can try to do the same by writing the video to file storage.
Our type field is the same as yours.

By the way I had the same Snapchat behavior as yours when my app was not able to find the video.

@serhii-kucherenko
Copy link
Author

I got this working in my app.
We're providing path to local file in url field. You can try to do the same by writing the video to file storage.
Our type field is the same as yours.

By the way I had the same Snapchat behavior as yours when my app was not able to find the video.

But I share successfully the same url in instagram, twitter, facebook, messenger, , email though

@github-actions
Copy link

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

@github-actions github-actions bot added the stale There has been a lack of activity on this issue and it may be closed soon. label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug first seen issue help wanted os: android stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

3 participants