Release 3.17.0. Migrate SDK to UPM package layout#23
Conversation
yauch-dev
commented
Apr 10, 2026
- Move Assets/AdaptySDK/ → Packages/com.adapty.unity-sdk/Runtime/
- Add package.json, README.md, LICENSE.md, CHANGELOG.md and asmdef for the com.adapty.unity-sdk UPM package
- Drop External Dependency Manager: remove EDM, Firebase, PlayServicesResolver and the resolved AAR/JAR set under Assets/Plugins/Android/
- Replace EDM with Unity gradle templates (mainTemplate.gradle, settingsTemplate.gradle, gradleTemplate.properties)
- Update Packages/manifest.json and packages-lock.json accordingly
- Move Assets/AdaptySDK/ → Packages/com.adapty.unity-sdk/Runtime/
- Add package.json, README.md, LICENSE.md, CHANGELOG.md and asmdef for the com.adapty.unity-sdk UPM package
- Drop External Dependency Manager: remove EDM, Firebase, PlayServicesResolver and the resolved AAR/JAR set under Assets/Plugins/Android/
- Replace EDM with Unity gradle templates (mainTemplate.gradle, settingsTemplate.gradle, gradleTemplate.properties)
- Update Packages/manifest.json and packages-lock.json accordingly
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b655281f6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- Restore fallback unitypackage export for the UPM package by staging the SDK under Assets/AdaptySDK, include the package version in the generated filename, and add a release helper script for building, committing, tagging, pushing, and uploading the asset to GitHub Releases. -Declare External Dependency Manager as a peer dependency for UPM installs. - Also ignore Unity Burst debug output folders.
Declare Adapty Android Maven dependencies through an Android library module inside the UPM package so Unity wires them into Gradle without EDM resolve or enerated Assets/Plugins/Android templates. Keep EDM dependency XML only for iOS pods, remove stale Android Resolver state, and drop the old generated Android Gradle templates from Assets.
- Bump Unity package metadata and SDK version to 3.17.2 - Update iOS pod dependencies and Android native artifacts - Refresh Android unity-wrapper AAR for 3.17.2 - Add parsing for applied attribution sources and UI open_in actions - Update changelog and cross-platform schema
|
I updated target to dev branch |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 190bb9a70b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "peerDependencies": { | ||
| "com.google.external-dependency-manager": "1.2.187" | ||
| }, |
There was a problem hiding this comment.
Declare EDM as a Unity dependency
When consumers install this UPM package, Unity resolves package dependencies from the dependencies field, not npm-style peerDependencies; in this repo the lock file already shows com.adapty.unity-sdk with empty dependencies while the sample project adds EDM separately. A project that only adds com.adapty.unity-sdk therefore will not install External Dependency Manager, so AdaptySDKDependencies.xml is not processed and native iOS/Android dependencies will not be resolved.
Useful? React with 👍 / 👎.
- Update package manifest version to 3.17.0 - Align Adapty.SDKVersion with the Unity SDK release version - Rename changelog entry from 3.17.2 to 3.17.0