Wootric / WootricSDK-iOS

Wootric iOS SDK to show NPS, CSAT and CES surveys
MIT License
13 stars 24 forks source link

Crash on iOS 17 #118

Open nellyAslanyan opened 11 months ago

nellyAslanyan commented 11 months ago

App is crashing when survey is about to be presented, I suppose the issue is coming from WTRSlider where UIGraphicsBeginImageContext is used.

image

diegoserranoa commented 9 months ago

Hi @nellyAslanyan can you provide more deails so I can try to reproduce this? How are you setting up the survey? (no need to provide account token or any other sensitive data)

nellyAslanyan commented 8 months ago

Hi @diegoserranoa, I haven't done any special set ups, crash was also actual when I call Wootric.forceSurvey(true) at the very beginning. Maybe this code can help:

 private static func configureSurveyUI() {
    Wootric.skipFeedbackScreen(forPromoter: true)
    Wootric.skipFeedbackScreen(false)
    Wootric.setSliderColor(.blue)
    Wootric.setSendButtonBackgroundColor(.blue)
    Wootric.setThankYouButtonBackgroundColor(.blue)
    Wootric.setSocialSharing(. blue)
  }