Ziggeo / ReactNativeSDK

React Native SDK
Apache License 2.0
7 stars 6 forks source link

Ziggeo.cancelRequest(); not working #70

Closed jessypouliot98 closed 2 years ago

jessypouliot98 commented 3 years ago

We want to prevent uploading and processing when user exits during video upload/processing, but this the cancelRequest function doesnt do anything.

I cancel the request at 50% upload and after a couple of seconds it appears in our dashboard completed.

Expected behavior: After canceling a request, it should NOT appear in dashboard.

react-native-ziggeo-library: 1.5.2

android & ios

Bane-D commented 3 years ago

Hi Jessy,

Can you please let us know if this is specific to Android or iOS side (or both)?

I am guessing on Android, just want to be sure.

jessypouliot98 commented 3 years ago

I have only tested iOS as of now, I am having an unrelated build issue at the moment with android

jessypouliot98 commented 3 years ago

@Bane-D I just tested out android and it still uploads the video even after cancelRequest

jessypouliot98 commented 3 years ago

This is a screenshot of my android notifications after having called Ziggeo.cancelRequest();

Screenshot_20210825_163446_ca.activix.mobile.scanner.jpg

Bane-D commented 3 years ago

Thank you for the additional details Jessy.

My colleagues are going to follow up with more details as they look into this.

3akat commented 2 years ago

Should be working in the latest version, please reopen if you need more help here.