Skip to content

Documentation Update Needed: React Native Upgrade to v12 Requires react-native-url-polyfill #502

Closed

Description

@SimbaNetropolix

Hi everyone,

When upgrading from an earlier PubNub version (v10 in my case) to v12, I encountered a peer dependency error during the build process related to react-native-url-polyfill.

To help other React Native developers avoid this issue, I would recommend updating the documentation to include the required installation command:

npm install pubnub react-native-url-polyfill

Including this dependency in the upgrade or installation instructions would make the migration process smoother and help prevent build-time errors.

Thank you.

Activity

  1. royalknight71 commented on Jun 27, 2026

    @royalknight71

    Hi, I'd like to help with this documentation update! Can I proceed with a PR for this?

  2. mohitpubnub commented on Aug 12, 2026

    @mohitpubnub
    Contributor

    Thanks for reporting is.
    We will update the docs to guide about this.

  3. mohitpubnub commented on Aug 12, 2026

    @mohitpubnub
    Contributor

    We checked the pubnub public document, This step is mentioned here

    Image

    Closing this as the document was updated along with the SDK v12 release.

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