Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

[iOS] Download & share video #6

Closed
mrgoonie opened this issue Jan 2, 2018 · 1 comment
Closed

[iOS] Download & share video #6

mrgoonie opened this issue Jan 2, 2018 · 1 comment

Comments

@mrgoonie
Copy link

mrgoonie commented Jan 2, 2018

Hello, firstly thank you for building a great plugin!

When I try to download a MP4 video from internet, then share with NativeShare, it said:
"FileNotFoundException: File not found at file:///var/mobile/Containers/Data/Application/3610BD90-F257-4DED-A91D-43ECD4A15EFF/Library/Caches/final.mp4"

I tried saving video at both Application.persistentDataPath and Application.temporaryCachePath, same result.

Also tried with:
NativeShare.Share(videoPath, "Subject here (optional)", "Message here (optional)", true, "nativeshare.test");
...and:
NativeShare.Share("file://" + videoPath, "Subject here (optional)", "Message here (optional)", true, "nativeshare.test");
...but it still didn't work.

I'm pretty sure the video was downloaded already, because I can play it back by:
Handheld.PlayFullScreenMovie("file://" + fullPath, Color.black, FullScreenMovieControlMode.Hidden);

What am I supposed to do now?

Thank you!

@mrgoonie
Copy link
Author

mrgoonie commented Jan 2, 2018

Never mind, my mistake, I didn't notice there is a flag boolean of this plugin for sharing a video file. Let close this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant