Please provide the following:
- SDK Version: 48.0.0
- Platforms(Android/iOS/web/all): Android
I updated expo to 48.0.0 and now I have the app crashing with the FlatList
, specifically when pull to refresh is implemented.
<FlatList
contentContainerStyle={[s`py-6`]}
data={grades}
keyExtractor={(grade, index) => `student-grade-card-${index}`}
ListEmptyComponent={
<AppText style={s`italic self-center`}>No content to show.</AppText>
}
onRefresh={handleRefresh}
refreshing={refreshing}
renderItem={renderGrade}
/>
If I comment onRefresh
and refreshing
everything works, but if i re-enable them I get errors like:
Error calling JSTimers.callTimers
undefined is not a function
Anyone with the same problem? How di you fix it?