Sure enough, wrapping the line of code above in a block synchronized on something available to both the ViewManager and ShadowNode (e.g. I didn't look into it deeply, but the nature of the problem and analysis of the code in AnimatorSet suggested it might be a threading issue. I can pretty much guarantee the crash occurring by wrapping the line above in a loop. (There is also an identical line in the shadow node which causes identical issues) #Osx control which version of node xcode uses for react native builds androidThe crash is very rare relative to the number of times the view manager in question creates buttons, and happens in both release and debug on Android only. I've been getting the same crash in AnimatorSet with a button created in a custom Android ViewManager, since at least 0.33. #Osx control which version of node xcode uses for react native builds mac osx
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |