Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Convert to UPM package #95

Open
starikcetin opened this issue Jul 25, 2022 · 1 comment
Open

[Feature]: Convert to UPM package #95

starikcetin opened this issue Jul 25, 2022 · 1 comment

Comments

@starikcetin
Copy link

starikcetin commented Jul 25, 2022

What problem are you facing?

I have to manually import a unityPackage file each time I need to update the SDK. This is error-prone and tedious.

Workarounds

Reverting from Git and importing on a clean slate is an option. But it is not a pretty option, since it is not always 100% reliable.

Ideal Solution

Now that you have asmdef files with release 3.8.1 (see #52), you are all set to deliver the SDK as a UPM package. You can even push it to a registry such as OpenUPM, which will make it even easier for the users.

Other Information

Benefits of delivering as a UPM package:

  1. Makes it much easier to install, remove, or update the SDK.
  2. Prevents cluttering the Assets folder, since everything will be contained under Packages/com.appboy.sdk (package name is an example).
  3. Your SDK will become read-only, so it won't be possible for users to tamper with it, and accidentally break things.
  4. Other UPM packages can list the SDK as a dependency (support depends on the registry).
  5. You can list other UPM packages as dependencies.

Overall it is just a good thing to have.

Again, I can create a PR for you that sets up the UPM package.

Note: UPM stands for Unity Package Manager. OpenUPM is a community-run registry of various UPM packages.

@radixdev
Copy link
Collaborator

radixdev commented Aug 4, 2022

Hi @starikcetin,

Apologies for the delay! I agree that this would be a beneficial way to publish our SDK and again we would gladly welcome any pull request. I've opened an internal jira ticket to move quickly on this, as before with the asmdef PR.

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

No branches or pull requests

2 participants