Skip to content

Random crash which is very frequent #218

Description

@vinayakparmar92

Describe the bug
I am using the pod of latest versions of Instructions(1.3.1). There is a random crash happening which is frequent. Attached here the screen shot. The crash is on 225 line number in file CoachMarkLayoutHelper. Here is the code:

let segmentIndex = Int(ceil(2 * pointOfInterest.x / frame.size.width))

Looks like at some moment, the frame.size.width is 0 which makes it crash.

To Reproduce
Happening randomly and not reproducible

Expected behavior
Crash should not happen

Screenshots
Screenshot 2019-09-13 at 15 24 31

Environment:

  • Device: All
  • iOS version: iOS 11 to iOS 12.4.1
  • Dependency Manager: CocoaPods

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions