ecency / ecency-mobile

Ecency Mobile - reimagined social blogging, contribute and get rewarded (for Android and iOS)
https://ecency.com
MIT License
235 stars 72 forks source link

Attempt to fix iOS crash while exploring app.. #2618

Closed noumantahir closed 1 year ago

noumantahir commented 1 year ago

Checklist

Archived _During my testing I am able to narrow it down to primary Friends feed screen. some times app would crash on opening a post, or one time it even crash just preforming simple ScrollToTop operation, the time to crash is also not consistent..

there is only one such random operation that might lead to crash and that would be ..

_scheduleLatestPostsCheck() firing at random intervals usage of setTimout might also be the reason for crashing as scrollToTop also use it just like scheduleLatestPostCheck()

https://media.discordapp.net/attachments/920267778190086205/1076120974967189504/image.png

Make sure timeouts are small and are cleared even if they have been executed_