question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App crashes on iOS, device only

See original GitHub issue

Current behavior

Whenever I send an object to AsyncStorage it crashes on iOS level (reproducable only for device)

Expected behavior

I would expect a promise, which is returned from setItem to fail instead

Repro steps

AsyncStorage.setItem('key', {'foo': 'bar'})

Environment

  • Async Storage version: 1.6.2
  • React-Native version: 0.59.10
  • Platform tested: iOS, device only
  • Logs/Error that are relevant:
RCTFatalException: Exception '-[__NSDictionaryM length]: unrecognized selector sent to instance 0x280d14620' was thrown while invoking multiSet on target RNCAsyncStorage with params ( ( ( "@CONNECTED_CARS:deviceToken"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Hatkocommented, Oct 29, 2019

As there is already a PR fixing it, we can close the issue

0reactions
Hatkocommented, Oct 22, 2019

@Krizzu can do this/next week

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an app on your iPhone or iPad stops responding, closes ...
If an app on your iPhone or iPad stops responding, closes unexpectedly, or won't open ; Close and reopen the app. Force the...
Read more >
9 Fixes for When Your iPhone Apps Keep Crashing
9 Fixes for When Your iPhone Apps Keep Crashing · 1. Check Your Internet Connection · 2. Close and Relaunch the App ·...
Read more >
How to Fix Crashing Apps on an iPhone or Android?
Sometimes app-crashing is not caused by your phone, but rather the app itself. An internal error, or bug, may have brought the app...
Read more >
Why .net maui App Crashing On iOS device? - Stack Overflow
My application appears on ipad but it crashes after 26s. I see only splash screen. I can't see content of application. I have...
Read more >
Fix iPhone Apps Keep Crashing after iOS 16.2 Update
Fix 1: Should Wait: App is not Compatible with iOS · Fix 2: Reboot Your iOS device · Fix 3: Quit and Reopen...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found