drawRect/Instagram_Stories

Progress bar issue

Opened this issue · 11 comments

Hi @ranmyfriend & @boominadhaprakash

Thanks for this library. This helps me a lot. Sorry for the inconvenience , but I'm facing one issue with progress bar . Some time progress bar is not showing & also not changing the next image. The progress bar is also not showing the progress. Please check the attachment.

https://user-images.githubusercontent.com/71260037/94113871-2be80780-fe65-11ea-898d-8ea78dccfee7.png

Please help me in this.

Hi @ajaychaudharkansal
Can you please list down the use case for this issue. so that we can reproduce it from outside and try to give fix.

Hi @ranmyfriend

Thanks for the response . Let me share you a video link , that might help you to understand the issue. Please check the video link.

https://youtu.be/oKQA3QbbyXw

Thanks

It says Video is Unavailable @ajaychaudharkansal

Hi @ranmyfriend

Sorry for that . let me check it again. That was a youtube video link .

Hi @ajaychaudharkansal

We will check it and revert you back. Before that, let us know, have you modified any existing code? Is it stopping the progress bar?

hi @boominadhaprakash

Sorry for the late response . I didn't changed anything in both of the progress classes.

I only changed the data type of story_identifier from string to Int. Nothing else I changed in that,

final class IGSnapProgressView: UIView, ViewAnimator {
public var story_identifier: Int?
public var snapIndex: Int?
// public var isCancelledAbruptly = false
public var story: IGStory!
}

Hi @ranmyfriend & @boominadhaprakash

Please help me in this issue.

Thanks

Hi @ajaychaudharkansal Actually, we played the scenario what you have mentioned. but not easily reproducible. We will try to load more stories and will play with this and let you know. I Will reply in the evening.

@ranmyfriend

Thanks for the response.

Hi @ajaychaudharkansal
We got one issue from outside. when we are deleting the last snap of current user, then trying to view other user story. then the progress bar and view is getting stuck. We are trying to solve this issue as soon as possible. But apart from this delete functionality, we have not faced any progress bar issue. what you have mentioned here.

Can you please list down the use case anything additionally you are trying to do here.