fix: loosen peer dependency version ranges#13
Open
blick wants to merge 1 commit intocookie-information:mainfrom
Open
fix: loosen peer dependency version ranges#13blick wants to merge 1 commit intocookie-information:mainfrom
blick wants to merge 1 commit intocookie-information:mainfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
expo:~53.0.26→>=52.0.0react-native:0.79.6→>=0.76.0react:19.0.0→>=18.0.0Motivation
The current exact versions are unnecessarily strict for a native SDK wrapper. The native module code does not impose these constraints:
ExpoModulesCoreorMobileConsentsSDKbuild.gradleonly pins the Cookie Information native SDK itselfExpo 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.