Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Undefined is not a valid argument for 'in' #56

Open
autoreleasefool opened this issue Jun 19, 2018 · 1 comment
Open

Undefined is not a valid argument for 'in' #56

autoreleasefool opened this issue Jun 19, 2018 · 1 comment

Comments

@autoreleasefool
Copy link
Owner

Crashlytics log:

Fatal Exception: com.facebook.react.common.JavascriptException: TypeError: undefined is not a valid argument for 'in' (evaluating ''icon'in e')

This error is located at:
    in t
    in RCTView
    in RCTScrollView
    in ScrollView
    in t
    in t
    in RCTView
    in t
    in RCTView
    in t
    in Connect(t)
    in RCTView
    in RCTView
    in RCTView
    in Navigator
    in t
    in Connect(t)
    in t
    in RCTView
    in Unknown
    in AndroidViewPager
    in n
    in n
    in RCTView
    in ScrollableTabView
    in RCTView
    in t
    in Connect(t)
    in RCTView
    in t
    in Connect(t)
    in RCTView
    in RCTView
    in RCTView
    in RCTView
    in Navigator
    in r
    in Connect(r)
    in n
    in r
    in RCTView
    in RCTView
    in t, stack:
c@566:1870
getPlatformIcon@566:1073
value@606:3229
_renderItem@217:4654
value@225:34657
P@41:57552
<unknown>@41:58916
beginWork@41:58927
q@41:88635
ee@41:89236
ne@41:90310
batchedUpdates@41:93177
A@41:3891
batchedUpdates@41:3978
_receiveRootNodeIDEvent@41:68492
receiveEvent@41:68596
value@18:3177
<unknown>@18:911
value@18:2606
value@18:883
@autoreleasefool
Copy link
Owner Author

Logging submitted with crash reports has lead me to believe this is due to the app returning from the background after being saved to instance state and the view properties not persisting correctly.

Looking into a solution like https://github.com/rt2zz/redux-persist should help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant