Skip to content

Incompatible With React Native 0.61 Due to ViewPagerAndroid #1035

Closed

Description

@AlexK777

ViewPagerAndroid is deprecated and has been pulled out of core react-native. react-native-viewpager should be used instead and needs to be required from https://github.com/react-native-community/react-native-viewpager.

Steps to Reproduce

Build an application which uses this library on react-native version 0.61.

Expected Behavior

Library should be compatible.

Actual Behavior

Invariant violation for ViewPagerAndroid.

Screenshot_1568858643

Activity

  1. orcunorcun commented on Sep 25, 2019

    @orcunorcun

    Same issue. Can you change and release it, please?

  2. jayshooo commented on Sep 25, 2019

    @jayshooo

    I had the same problem. So I made a pull request.
    Hopefully it will merge.

    #1038

  3. ivanguimam commented on Sep 26, 2019

    @ivanguimam

    same problem

  4. mokai commented on Sep 27, 2019

    @mokai

    +1

  5. snail714 commented on Sep 29, 2019

    @snail714

    +1

  6. 18605161612 commented on Sep 29, 2019

    @18605161612

    +1

  7. orcunorcun commented on Oct 1, 2019

    @orcunorcun

    Please merge @jayshooo 's PR. It's looks working well.

  8. akmalahmed525 commented on Oct 5, 2019

    @akmalahmed525

    Please merge @jayshooo 's PR. It works for me.

  9. houman-sanati commented on Oct 6, 2019

    @houman-sanati

    same issue

  10. longnk-1447 commented on Oct 8, 2019

    @longnk-1447

    I had the same problem. So I made a pull request.
    Hopefully it will merge.

    #1038

    not working in android? ios worked

  11. ptomasroos commented on Oct 10, 2019

    @ptomasroos
    Owner

    We're waiting on PR to land in order to fix this

  12. ptomasroos commented on Oct 20, 2019

    @ptomasroos
    Owner

    This is fixed in master, will be released as a new version in any day.

  13. lukewlms commented on Oct 25, 2019

    @lukewlms

    In the meantime you can get the change like this:

    yarn add https://github.com/ptomasroos/react-native-scrollable-tab-view#8ac09a9dee6c05906e9bfea8b4c736d3d5707a30

  14. nonotest commented on Oct 28, 2019

    @nonotest

    hello,
    just wondering if anyone else had to add viewpager as a dependency to their root project for this to work?
    Kept getting requireNativeComponent : "RNCViewPager" was not found in the UIManager" without it.
    Thanks!

  15. zmnv commented on Oct 29, 2019

    @zmnv

    @nonotest I have it too.
    #1050

  16. xuho commented on Jan 1, 2020

    @xuho

    hello,
    just wondering if anyone else had to add viewpager as a dependency to their root project for this to work?
    Kept getting requireNativeComponent : "RNCViewPager" was not found in the UIManager" without it.
    Thanks!

    same issue with you, did you fixed it?

  17. bdent commented on Jan 28, 2020

    @bdent

    hello,
    just wondering if anyone else had to add viewpager as a dependency to their root project for this to work?
    Kept getting requireNativeComponent : "RNCViewPager" was not found in the UIManager" without it.
    Thanks!

    same issue with you, did you fixed it?

    @nonotest I have it too.
    #1050

    hello,
    just wondering if anyone else had to add viewpager as a dependency to their root project for this to work?
    Kept getting requireNativeComponent : "RNCViewPager" was not found in the UIManager" without it.
    Thanks!

    @nonotest, @zmnv & @xuho:

    Did either of you get this fixed?

  18. roysG commented on Apr 14, 2020

    @roysG

    Still problem! any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions