Skip to content

[Feature]: Convert to UPM package #95

@starikcetin

Description

@starikcetin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions