Hi there,
I am currently checking my app on iOS as I am mainly programming with Android as test devices. I am storing a password in the Secure Store which is absolutely fine on Android, but I am getting this on iOS.
The problem occurs with the following code:
await SecureStore.setItemAsync("masterPass",generatedPassword,SecureStore.ALWAYS);
And here is the full Exception from the device:
Exception '-[__NSCFNumber objectForKeyedSubscript:]: unrecognized selector sent to instance 0xb000000000000023' was thrown while invoking setValueWithKeyAsync on target ExponentSecureStore with params (
"!>w#g^HY",
"masterPass",
2,
178,
179
)
callstack: (
0 CoreFoundation 0x00000001813d2da4 <redacted> + 252
1 libobjc.A.dylib 0x000000018058c5ec objc_exception_throw + 56
2 CoreFoundation 0x00000001813e0098 <redacted> + 0
3 CoreFoundation 0x00000001813d85c8 <redacted> + 1380
4 CoreFoundation 0x00000001812be41c _CF_forwarding_prep_0 + 92
5 Exponent 0x0000000101193a58 ABI25_0_0RCTFBQuickPerformanceLoggerConfigureHooks + 1412812
6 Exponent 0x0000000101193c20 ABI25_0_0RCTFBQuickPerformanceLoggerConfigureHooks + 1413268
7 Exponent 0x00000001011947fc ABI25_0_0RCTFBQuickPerformanceLoggerConfigureHooks + 1416304
8 CoreFoundation 0x00000001813da580 <redacted> + 144
9 CoreFoundation 0x00000001812b9748 <redacted> + 284
10 CoreFoundation 0x00000001812be56c <redacted> + 60
11 Exponent 0x00000001012167d4 ABI26_0_0RCTFBQuickPerformanceLoggerConfigureHooks + 348132
12 Exponent 0x000000010121d840 ABI26_0_0RCTFBQuickPerformanceLoggerConfigureHooks + 376912
13 Exponent 0x000000010121d5a0 ABI26_0_0RCTFBQuickPerformanceLoggerConfigureHooks + 376240
14 libdispatch.dylib 0x0000000180cc4aa0 <redacted> + 24
15 libdispatch.dylib 0x0000000180cc4a60 <redacted> + 16
16 libdispatch.dylib 0x0000000180cce9b4 <redacted> + 608
17 libdispatch.dylib 0x0000000180ccf2fc <redacted> + 336
18 libdispatch.dylib 0x0000000180ccfcc8 <redacted> + 340
19 libdispatch.dylib 0x0000000180cd8098 <redacted> + 668
20 libsystem_pthread.dylib 0x0000000180ff7e70 _pthread_wqthread + 860
21 libsystem_pthread.dylib 0x0000000180ff7b08 start_wqthread + 4
)
ABI25_0_0RCTFBQuickPerformanceLoggerConfigureHooks
ABI26_0_0RCTFBQuickPerformanceLoggerConfigureHooks
ABI26_0_0RCTFBQuickPerformanceLoggerConfigureHooks
<redacted>
<redacted>
<redacted>
<redacted>
<redacted>
<redacted>
_pthread_wqthread
start_wqthread
How do I fix this and what did I do wrong? iOS is latest version 11.
Many thanks, Jan