Skip to content

Commit ea85225

Browse files
committed
fix(ios): prevent ApplicationSettings.getAllJSON error
1 parent 7f77695 commit ea85225

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/core/platforms/ios/src/NSApplicationSettings.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ class NSApplicationSettings : NSObject {
4646

4747
if let valueClassString = valueClassString {
4848
var formattedValueClassString = valueClassString
49-
49+
if valueClassString == "__NSCFData" {
50+
return
51+
}
5052
// Remove '__' prefix if present
5153
if formattedValueClassString.hasPrefix("__") {
5254
formattedValueClassString.removeFirst(2)

0 commit comments

Comments
 (0)