Skip to content

this.uploader.on(...) is not a function #272

@matheusvps

Description

@matheusvps

Hello, currently using V4 on my project.
Did this :

    this.uploader.startUpload(payload);
    console.debug(this.uploader.acknowledgeEvent);
    this.uploader.on('event', (event) => {
      console.debug(event, 'evento do on');
    });
    this.uploader.acknowledgeEvent('blablablaa', (event) => {
      console.debug('sucess', event);
    }, (error) => {
      console.debug('error', error);
    });

Obs : the object uploader is initialized when my app is mounted. The acknowledgeEvent returns "sucess OK" but the "this.uploader.on(...)" returns on is not a function.
I need to hear the events clearly because the startUpload is called when I click a button but my documents isn't sended and I got none on my network... Do I need to downgrade my plugin version ? How can I fix that ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions