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

Supporting files and containers (loopback-component-storage) #22

Closed
abbasmousavi opened this issue Feb 24, 2014 · 9 comments
Closed

Supporting files and containers (loopback-component-storage) #22

abbasmousavi opened this issue Feb 24, 2014 · 9 comments

Comments

@abbasmousavi
Copy link

Does javascript support files and containers like iOS and android clients?

@bajtos
Copy link
Member

bajtos commented Apr 9, 2014

There isn't a first class support in the LoopBack Angular SDK yet, but you should be able to upload files using the angular-file-upload plugin. Checkout the example app in loopback-storage project.

@bajtos bajtos mentioned this issue May 14, 2014
@bajtos
Copy link
Member

bajtos commented Oct 16, 2014

If we want to implement a generic solution that is not couply tied with loopback-component-storage, then we need to implement support for stream arguments in strong-remoting first - see strongloop/strong-remoting#35.

@bajtos bajtos changed the title Supporting files and containers Supporting files and containers (loopback-component-storage) Jan 5, 2015
@bajtos
Copy link
Member

bajtos commented Jan 5, 2015

@reichert621
Copy link

The example 2.0 is pretty helpful. I also created a gist of the bare minimum I needed to do to get file upload working with ng-file-upload, because I was struggling for a bit to figure it out: https://gist.github.com/reichert621/e987545fdbc2bc071d37

@TeknoloGenie
Copy link

I was looking for an example through google for the example that both @reichert621 and @bajtos provided and couldn't find it, low and behold its been relocation to the production branch, heres the link for future googler's. angular file upload using loopback-component-storage

@z3dmax
Copy link

z3dmax commented May 13, 2016

Please add that feature to loopback-sdk-angular!!! I've past a day how to figure out a solution using lbServices in my Ionic App to upload an image using method lbServices.ImageResource#upload until I found out that it's not implemented yet... and now I'm planning to do using $cordovaFileTransfer with multipart-form-data and standard API.... it's gonna work?

@bajtos
Copy link
Member

bajtos commented Apr 19, 2018

I am afraid we don't have bandwidth to implement this feature ourselves. Contributions are welcome though!

@smehrbrodt
Copy link

I am afraid we don't have bandwidth to implement this feature ourselves. Contributions are welcome though!

Then just leave the issue open?

@bajtos
Copy link
Member

bajtos commented Apr 19, 2018

Then just leave the issue open?

We are trying to clean up our issue trackers to make them easier to work with. Having open issues that nobody is going to work on any time soon is too cumbersome. Since there was no activity in this issue for almost two years, it's pretty safe to assume there is nobody willing to contribute a pull request. We can always re-open if somebody comes with an offer to implement the necessary changes.

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

No branches or pull requests

9 participants