-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
React Native upload image/video to meteor server #74
Comments
I guess you can grab code of this lib, and copy/paste Client's part. As it's still JavaScript - it should work.
Files:
Not easy task, but if you have enough experience it won't take a lot of time. |
BTW why not use: https://github.com/hharnisc/react-native-meteor ? |
@faavictoriano any news on your end? |
I will try this.. Thank you.. :) we are using ddp for connection.. And i
|
@faavictoriano thank you for reply, let me know then. |
@faavictoriano any news on your end? |
This issue will be closed on next week, due to issue starter silence. I assume it as fixed. |
I fixed i pass video and audio using DATA URI and BLOB.. thanks |
@faavictoriano are you can send example to here ? |
@faavictoriano, can you share your code to see how you achieved upoading files to Meteor from React-Native. I am using A sample code of how you achieved file upload (both using base64 and and Data URI) will really be helpful. |
base64 and Data URI is the almost same thing, Data URI has mime-type prepended to the data. @gauravdhiman can you get an event when user selects the file? Something like in |
@dr-dimitru, yes I can get Once I get the file object, how to upload it to Meteor or 3rd party cloud APIs ? I would prefer Meteor. |
@gauravdhiman can |
@dr-dimitru, that I can convert on the fly. Anyway more preferred way is to send binary data (image) and not converting it to base64. Send binary to Meteor and binary in Mongo GridFS. If that is not possible, I am ok with base64 in that case. Please share the sample code, if possible. |
@gauravdhiman you can find everything you need in wiki:
Let me know if this helped you |
Hello there, i try to upload image in from react-native to meteor using base64 encode for image and its working, but i would like to know if you have idea how to upload from external like react-native to Meteor Server with file path. i know that in heruko they use ephemeral filesystem, so i can use my own server to upload video/audio? any codes in react-native to meteor? i use DDP Client
Thanks
The text was updated successfully, but these errors were encountered: