Skip to content

fix: loosen peer dependency version ranges#13

Open
blick wants to merge 1 commit intocookie-information:mainfrom
blick:fix/loosen-peer-dependency-ranges
Open

fix: loosen peer dependency version ranges#13
blick wants to merge 1 commit intocookie-information:mainfrom
blick:fix/loosen-peer-dependency-ranges

Conversation

@blick
Copy link
Copy Markdown

@blick blick commented Mar 12, 2026

Summary

  • Replace exact/tilde peer dependency pins with open lower-bound ranges:
    • expo: ~53.0.26>=52.0.0
    • react-native: 0.79.6>=0.76.0
    • react: 19.0.0>=18.0.0

Motivation

The current exact versions are unnecessarily strict for a native SDK wrapper. The native module code does not impose these constraints:

  • The iOS podspec has no version pinning on ExpoModulesCore or MobileConsentsSDK
  • The Android build.gradle only pins the Cookie Information native SDK itself

Expo 52 / RN 0.76 / React 18 are chosen as the minimum baseline as that is the oldest version set with compatible Expo module support. This allows users on slightly older or newer Expo versions to install the package without peer dependency conflicts.

Replace exact/tilde peer dependency versions with open lower-bound ranges.
The native module code does not impose strict RN version requirements —
the iOS podspec has no version constraints on ExpoModulesCore or
MobileConsentsSDK, and the Android build.gradle only pins the Cookie
Information native SDK. Expo 52 / RN 0.76 / React 18 are used as the
minimum baseline as that is the oldest version set with compatible
Expo module support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant