Skip to content

crash app when using react-native-linear-gradient #1133

Closed as not planned
Closed as not planned
@HongQuang231

Description

@HongQuang231

Describe the bug

<LinearGradient
colors={listColor}
start={{x: 0, y: 1}}
end={{x: 1, y: 0}}
style={[
{
paddingTop: inset.top,
},
style,
]}>
<TopNavigation
title={props => (
<TextCM
{...props}
numberOfLines={1}
style={[
{
color: '#fff',
fontFamily: Font.InterSemiBold600,
fontSize: 18,
textAlign: 'center',
},
titleStyle,
]}>
{title}

)}
appearance={appearance}
accessoryLeft={renderBackAction}
accessoryRight={renderContentRight}
alignment={alignment}
subtitle={subtitle}
style={[
{
backgroundColor: 'transparent',
paddingVertical: 0,
minHeight: 40,
},
contentStyle,
]}
/>

when I wrap by LinearGradient and bundle mini app. I have direct from host app to mini app, it is crash. But in simulator, app still working. When i replace LinearGradient by SaveAreaView -> bundle -> it working

System Info

/

Re.Pack Version

4.1.1

Reproduction

/

Steps to reproduce

/

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:newNew issue, not reviewed by the team yet.status:staleMissing feedback or response for prolonged period of time.type:bugA bug report.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions