braze-unity-sdk
braze-unity-sdk copied to clipboard
[Feature]: Convert to UPM package
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:
- Makes it much easier to install, remove, or update the SDK.
- Prevents cluttering the Assets folder, since everything will be contained under
Packages/com.appboy.sdk(package name is an example). - Your SDK will become read-only, so it won't be possible for users to tamper with it, and accidentally break things.
- Other UPM packages can list the SDK as a dependency (support depends on the registry).
- 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.
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.
2 years, any update ?
2 years, any update ?
I have quit the company that I was working with when I opened this, quite a while ago. But it is a fairly straightforward procedure, can be done in a day or two.