Skip to content

React-Native 0.54.4 Problem #29

Open
@rafael-paytuvi-devtence

Description

@rafael-paytuvi-devtence

Hello.

We've worked with this plugin perfectly for the past months with my App in React Native 53.3 or lower. Recently, we have had to upgrade our React-Native version, so, we've upgraded version per version for testability and stability (f.e. 53.3 to 54.0, 54.0 to 54.4, 54.4 to 55 and so on).

However, we are currently stuck on React Native 54 because we've encountered Runtime errors preventing the App from executing correctly on Android as it crashes as soon it gets past the Splash screen. The error preventing the App from executing seems to be related to this plugin and it is:

ReactClassInterface: You are attempting to define 'UNSAFE_componentWillMount' on your component more than once. This conflict may be due to a mixin.

The problem occurs only on Android, when the line is present in any Container/Component and it does not matter if we've use the NestedScrollView component in the render:

import NestedScrollView from 'react-native-nested-scroll-view';

Our environment as right now is:

"react": "^16.3.0-alpha.1",
"react-native": "0.54.4",
"react-native-nested-scroll-view": "6.0.1"

Like you can see we are using the 6.0.1 version recommended for React Native versions lower than 0.56. Also, we've followed carefully the installation steps provided in the README.

Thank you for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions