Skip to content

Release 3.17.0. Migrate SDK to UPM package layout#23

Open
yauch-dev wants to merge 6 commits into
adaptyteam:devfrom
yauch-dev:upm
Open

Release 3.17.0. Migrate SDK to UPM package layout#23
yauch-dev wants to merge 6 commits into
adaptyteam:devfrom
yauch-dev:upm

Conversation

@yauch-dev

Copy link
Copy Markdown
Collaborator
  • 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

x401om and others added 2 commits March 25, 2026 16:13
  - 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
@yauch-dev yauch-dev requested a review from x401om April 22, 2026 18:53
@yauch-dev yauch-dev marked this pull request as ready for review April 22, 2026 18:53
@yauch-dev yauch-dev assigned yauch-dev and unassigned yauch-dev Apr 22, 2026
@StanislavMayorov

Copy link
Copy Markdown
Contributor

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread Packages/com.adapty.unity-sdk/package.json
 - 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.
@adaptyteam adaptyteam deleted a comment from chatgpt-codex-connector Bot May 9, 2026
yauch-dev added 2 commits June 6, 2026 20:58
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
@StanislavMayorov StanislavMayorov changed the title Migrate SDK to UPM package layout Release 3.17.0. Migrate SDK to UPM package layout Jun 8, 2026
@StanislavMayorov StanislavMayorov changed the base branch from main to dev June 8, 2026 10:21
@StanislavMayorov

Copy link
Copy Markdown
Contributor

I updated target to dev branch

Comment thread Packages/com.adapty.unity-sdk/Runtime/Adapty.cs Outdated
@StanislavMayorov

Copy link
Copy Markdown
Contributor

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +9 to +11
"peerDependencies": {
"com.google.external-dependency-manager": "1.2.187"
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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
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.

3 participants