-
Notifications
You must be signed in to change notification settings - Fork 54
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
this.uploader.on(...) is not a function #272
Comments
Hello @matheusvps, For V4, we don't listen on event. Here is an example how we listen to the callback.
The callback is in the initialiser. |
Hello @zfir !
But when I call the .startUpload function, no events are fired, no network updates... and the uploader object is already initialized. |
Hello @matheusvps, This can be due to the payload that you are sending. Can you send a payload example. Also to see if you are having a problem with plugin, you can use Android Studio to debug. |
@zfir I am having the same issue on Android where the uploader is initialized, .startUpload is called, no events fire. This is from Android Studio:
And it's in a retry loop. I should add that file at symlink Using v4.1.1 with Capcitor 6 |
I should add that after reviewing the backend logs that there is never a request made to the server for photo uploads. |
Hello, currently using V4 on my project.
Did this :
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 ?
The text was updated successfully, but these errors were encountered: