Skip to content

[ENHANCEMENT] backport peer dependency fixes to v5.x.x #1115

Closed

Description

@matinzd

Description

Is it possible to backport these peer dependency changes to javascript-sdk v5?

    "@react-native-async-storage/async-storage": ">=1.0.0 <3.0.0",
    "@react-native-community/netinfo": ">=5.0.0 <12.0.0",

Due to optimizely/react-sdk#307 we cannot upgrade to v6.

Benefits

  • Make v5 compatible with new react native versions
  • Async storage v1 is not supported for new architecture and new react native versions anymore

Detail

No response

Examples

No response

Risks/Downsides

No response

Activity

  1. changed the title [-][ENHANCEMENT][/-] [+][ENHANCEMENT] backport peer dependency fixes to v5.x.x[/+] on Dec 4, 2025
  2. raju-opti commented on Dec 4, 2025

    @raju-opti
    Contributor

    Hello @matinzd , thank you for reporting this issue. I think it should be fine to update this. We'll take a look very soon

  3. matinzd commented on Dec 4, 2025

    @matinzd
    Author

    THanks @raju-opti

    I also added a comment here: #1118 (comment)

  4. junaed-optimizely commented on Dec 8, 2025

    @junaed-optimizely
    Contributor

    @matinzd, peer deps ranges have been updated in v5.4.1.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions