Instabug / Instabug-iOS

In-app feedback and bug reporting tool for apps.
https://instabug.com/
Other
290 stars 67 forks source link

App got crashed because fatal exception (Invalid number value (NaN) in JSON write) #479

Closed santoso8118 closed 10 months ago

santoso8118 commented 11 months ago

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

Instabug Crash Log.txt

stale[bot] commented 11 months ago

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.

stale[bot] commented 10 months ago

This issue has been automatically closed due to inactivity.