amplitude / unity-plugin

Official Amplitude Unity Plugin
https://developers.amplitude.com/docs/unity
MIT License
44 stars 34 forks source link

Create UPM package #43

Closed MartinGonzalez closed 3 years ago

MartinGonzalez commented 4 years ago

This will impact in how developers can integrate the plugin in their projects. It would be easier and we can keep track of the updates.

MartinGonzalez commented 3 years ago

Is there any new about this?

haoliu-amp commented 3 years ago

Hello, we haven't started working on this, but this is what we are up to.

MartinGonzalez commented 3 years ago

Hi, any news about this?

JoNax97 commented 3 years ago

Hi! This would be very useful for us, too. It'd be great if you cold give an update!

haoliu-amp commented 3 years ago

Hello! This is in our backlog and we target to do it within next 1-2 months.

Xeoneid commented 3 years ago

Thanks for responding @haoliu-amp !

dantetam commented 3 years ago

Hello all, I'm currently working on this issue. Sorry for the delay.

To give you all updates, it is a little more complicated to create a UPM package and .asmdef files because of the architecture of our app, with the Android and iOS plugins and bridging code to these native libraries.

We would like to listen to some customer insights. How would creating the UPM benefit you or your organization? Specifically, how many steps does this save you?

Dante

dantetam commented 3 years ago

Hello all,

We have completed this feature: the ability to download the Unity SDK through Git and have the Unity Package Manager automatically resolve by version. Extra instructions at the Unity Amplitude developer docs.

Ensure git is installed. In Unity, click Window > Package Manager. Click the plus + sign and select Add package from Git URL. Type in the URL 
https://github.com/amplitude/unity-plugin.git?path=/Assets
and then press Add. Wait for the Unity editor to import the project from Git.

Dante

dantetam commented 3 years ago

Thank you for the excellent suggestion @MartinGonzalez

For developers, see #64