chore: Bump package versions to 5.7.0#217
Conversation
Update native SDK dependencies: - iOS: Purchasely 5.6.4 → 5.7.0 - Android: io.purchasely 5.6.0 → 5.7.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary of ChangesHello @kherembourg, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on a routine version bump for the Purchasely React Native SDK and its associated native dependencies. The update ensures that all components, including iOS and various Android modules, are aligned with the latest 5.7.0 release. This change primarily involves updating version numbers across configuration files, package manifests, and internal constants, along with corresponding adjustments to test expectations and documentation. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly bumps the package versions to 5.7.0 across all relevant files, including package configurations, native dependencies, documentation, and tests. The changes are consistent and reflect the new version.
I've added a few suggestions to improve maintainability by removing hardcoded version strings in the source and test files. By fetching the version from package.json, it can serve as a single source of truth, which will simplify future version bumps.
- Update Kotlin from 2.0.21 to 2.1.21 in example app and all package fallback gradle.properties to fix metadata incompatibility with native Android SDK 5.7.0 (compiled with Kotlin 2.2) - Remove stale Podfile.lock pinning Purchasely 5.6.4 so CI regenerates it with 5.7.0 - Update CI cache keys to use Podfile + podspec instead of Podfile.lock Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The React Native gradle plugin's included build pins kotlin-gradle-plugin to 2.0.21 via its version catalog, overriding the ext.kotlinVersion property. Explicitly version the classpath dependency to ensure Kotlin 2.1.21 is used, which can read metadata 2.2.0 from the native SDK 5.7.0 dependencies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Native SDK 5.7.0 pulls OkHttp 5.3.2 which includes duplicate META-INF/versions/9/OSGI-INF/MANIFEST.MF across okhttp-brotli and logging-interceptor JARs, causing mergeDebugJavaResource to fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
Files changed
packages/purchasely/react-native-purchasely.podspecpackages/purchasely/android/build.gradle,packages/google/android/build.gradle,packages/amazon/android/build.gradle,packages/huawei/android/build.gradle,packages/android-player/android/build.gradlepackage.jsonfiles (purchasely, google, amazon, huawei, android-player)packages/purchasely/src/index.ts(purchaselyVersion constant)packages/purchasely/src/__tests__/index.test.ts,packages/purchasely/src/__tests__/types.test.tsVERSIONS.md,CLAUDE.mdTest plan
yarn test— 139 tests passyarn lint— cleanyarn typecheck— cleanyarn all:prepare— all packages build successfully🤖 Generated with Claude Code