App got crashed because fatal exception (Invalid number value (NaN) in JSON write)
Closed this issue · 2 comments
Steps to Reproduce the Problem
We dont have clear steps to reproduce this crashed app issue
Expected Behavior
App should not be crashed
Actual Behavior
App got crashed
Instabug integration code
Instabug.start(withToken:”token", invocationEvents: [.screenshot])
Surveys.appStoreURL = “Appstore URL"
BugReporting.shouldCaptureViewHierarchy = true
BugReporting.enabledAttachmentTypes = [.extraScreenShot,.galleryImage,.screenRecording,]
Instabug.setColorTheme(.light)
Instabug.tintColor = .brandPurpleColor
Instabug.welcomeMessageMode = IBGWelcomeMessageMode.disabled
Instabug set value for some fields as below:
kIBGReportBugStringName
kIBGReportBugDescriptionStringName
kIBGReportFeedbackStringName
kIBGReportFeedbackDescriptionStringName
kIBGAskAQuestionStringName
kIBGReportQuestionDescriptionStringName
kIBGCommentFieldPlaceholderForBugReportStringName
kIBGCommentFieldPlaceholderForFeedbackStringName
kIBGCommentFieldPlaceholderForQuestionStringName
SDK Version
11.1.0
iOS Version
iOS 16.6.1
Device Model
iPhone 14 Pro Max
Crashed Log from Firebase
-[IBGLogLocalAttachment viewHierarchyString]
NSInvalidArgumentException - Invalid number value (NaN) in JSON write
This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity.