angular-uploadcare icon indicating copy to clipboard operation
angular-uploadcare copied to clipboard

Wrapper for Angular 2

Open Mahaswami opened this issue 7 years ago • 17 comments

Appreciate if you can share your plans for Angular 2 wrapper. We do need to use Angular 2 for the new projects we undertake.

Mahaswami avatar May 09 '17 21:05 Mahaswami

Sure, we will create Angular 2 wrapper soon. Before that, maybe this demo can be useful - https://plnkr.co/edit/6caWQ6cct4L3715LehxZ?p=preview

Zmoki avatar May 09 '17 22:05 Zmoki

+1 to an Angular 2+ wrapper!

adamlaz avatar Aug 28 '17 16:08 adamlaz

+1 as well! Would love to see this :)

empurium avatar Oct 11 '17 21:10 empurium

@Zmoki @Akurganow @dmitry-mukhin - any comments / updates on this? Would love to know where this stands priority-wise, if it's on roadmap, etc.

Next 5 weeks I am building some MVP's to mockup Uploadcare vs Filestack vs Native Firebase Storage and.. well, if ya'll already have some progress on building this wrapper that would certainly help me.

If my timeframe allows I'd also like to help with a PR to do build this... let's chat?

adamlaz avatar Oct 11 '17 21:10 adamlaz

@adamlaz any help is more than welcome, of course :) as for progress, I'd say, since this is github — no commits = no progress

@Zmoki ?

dmitry-mukhin avatar Oct 12 '17 10:10 dmitry-mukhin

We plan to start dev a Angular X component on next week.

@adamlaz @empurium will you help with testing? 😉

Also maybe are you have any requirements or wishes for an Angular 2+ wrapper?

Zmoki avatar Oct 12 '17 16:10 Zmoki

@adamlaz @empurium will you help with testing? 😉

I'm more than happy to help w/ testing!

I will see if I can think of any specific wishes for this wrapper...

adamlaz avatar Oct 12 '17 16:10 adamlaz

I can also help with testing. @Zmoki: Any idea of the release date of the Angular X component ?

emericmourot avatar Nov 01 '17 23:11 emericmourot

When will be npm package for Angular4,5? I found this npm for uploadcare :https://github.com/MatthiasKunnen

gogs85 avatar Jan 27 '18 17:01 gogs85

Hi folks! We began work on package for Angular. While in private repo. So, next week we will show the first version.

Zmoki avatar Feb 01 '18 10:02 Zmoki

Hi, when we can expect this week first version ? :)

gogs85 avatar Feb 07 '18 12:02 gogs85

Tomorrow!)) https://github.com/uploadcare/ngx-uploadcare-widget

Zmoki avatar Feb 08 '18 11:02 Zmoki

Great :))

gogs85 avatar Feb 08 '18 15:02 gogs85

Ops, we released it now =). So, you can install it from npm,

npm install ngx-uploadcare-widget

More info: https://github.com/uploadcare/ngx-uploadcare-widget

P.S. issues and PRs are welcome!

Zmoki avatar Feb 08 '18 16:02 Zmoki

@Zmoki - First of all thanks for this great library. few things I wanted to seek advice on an issue that i have been struggling to fix.

I am using lazy loading approach in ionic 3. Tried to use your plugin named “ngx-uploadcare-widget” but it said the UCwidget is not defined and please import it into the page… after several hours of debugging I found that it had to be moved to a shared component folder and then import it individually in pages, by doing this all the errors were fixed and app was working fine on browser and on debug build.

But when I did ionic cordova build --release --prod the app seems to be hung in the sense it was showing me blank white screen, since we cant debug prod I was left clueless on what is happening, later in one of the Ionic forms I learnt that we can add a call back function to this.navCtrl.setRoot(‘HomePage’). When I did that and generated a build I was able to see an error saying (ReferenceError APP_VERSION is not defined for Uploadcare) and now again i have no idea on what to do :(, The team at Ionic says it could be an issue with the plugin and they asked me to check in with the developer/Team of uploadcare widget(Angular 2), so I am posting this here. If you / anybody here have encountered a similar issue or understands this problem request you to please help me in fixing this as I have been stuck here since a month and not sure what to do.

Ps: I did follow all the advised on #12, #13.

Also implemented the shared module concept as mentioned below

Fyi:

//Shared Components Module

import { NgModule } from ‘’; import { UcWidgetComponent } from ‘ngx-uploadcare-widget’;

@NgModule({ declarations: [UcWidgetComponent], imports: [], exports: [UcWidgetComponent] }) export class ComponentsModule {}

App.module.ts file

//App import { ComponentsModule } from ‘…/components/components.module’;

@NgModule({ declarations: [ MyApp, ], imports: [ HttpClientModule, HttpModule, BrowserModule, IonicModule.forRoot(MyApp), ComponentsModule, ], bootstrap: [IonicApp], entryComponents: [ MyApp, ],

//Home Module (home.module.ts file)

import { ComponentsModule } from ‘…/…/components/components.module’;

@NgModule({ declarations: [ HomePage, ], imports: [ IonicPageModule.forChild(HomePage), ComponentsModule, ], }) export class HomePageModule {}

and did comment out // export * from './ucWidget.module'; in index.d.ts and index.js but I am still having the app_version not defined error. I am requesting you to please help!!!!!!

Many thanks in advance.

Chethannp avatar Jun 11 '18 03:06 Chethannp

Fyi: https://github.com/uploadcare/ngx-uploadcare-widget/issues/14, https://github.com/uploadcare/ngx-uploadcare-widget/issues/10

Chethannp avatar Jun 11 '18 03:06 Chethannp

@Zmoki - Can you please check this issue updated in angular 2 github repo, please been requesting for a support since 2weeks and no one seems to be responding. Requesting you to please help!

Fyi: https://github.com/uploadcare/ngx-uploadcare-widget/issues/14

Chethannp avatar Jun 11 '18 11:06 Chethannp