-
Notifications
You must be signed in to change notification settings - Fork 71
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
Asmdefs are missing #221
Comments
Hi there, Thanks for getting in touch. It's in "nice to have" section in our backlog, but we cannot provide any ETA yet. Thanks, |
Oh, thank you very much for a reply, nice to see that support is alive! |
I think it's more than "nice to have" nowadays. Also, it's quite easy to add it. |
If you are distributing code with Unity's Package Manager, assembly definition is a "must", not "nice to have". Honestly I can't really see why this is in backlog or is being delayed, adding it shouldn't be a hard thing. |
Hey guys. We are currently simply working on other things which we plan to release soon and this topic didn't make the list yet. We are definitely gonna take a look at this as well afterwards (together with Unity Package Manager which we still didn't build support for, thus no asmdefs). We'll keep you posted. |
It literally takes a few minutes to create the Assembly Definitions. |
Well, it's been more than one year. |
AdjustOaid_v4.31.0_asmdefs.unitypackage.zip And yes @ilterbilguven, indeed. Sorry about that, not really proud because of such a big delay. We managed to check this topic and "thanks" to our current code organization, only Before we make this part of our official release, it would be great if someone would be willing to test current latest SDK version just with Adjust_v4.31.0_asmdefs.unitypackage.zip Also, in case someone is willing to try whether UPM integration works well and let us know, that'd be great as well before officially pushing things to
Looking forward to hearing back from you guys and one more time - apologies for the delay. Cheers |
@uerceg Hi, I tried out this UPM integration. There were some changes that we needed to make to make it compatible with our projects, so here's my exact steps to get things working:
To get around this immutability issue I reworked the scriptable object instance creation to create and load the file from /Assets/Editor/Adjust/AdjustSettings.asset instead of within the package. You can see all my changes in this demonstration PR I created #256, although you can obviously disregard the readme changes. (The forked repo has since been deleted and made private) I did not test IMEI or OAID. |
Thank you very much for your feedback and such a detailed checks and sorry for a bit delayed response. We will try to take a look at everything you mentioned in days to come and ping you with answers / follow up questions. Big thanks one more time. 🍺 |
Hey @uerceg, Had another issue come up today when I finally got around to building for iOS, basically running into the issue described here: #172 with iOS failing to build due to missing bitcode for test related files Using the unity package as reference, I deleted Adjust/Test, Adjust/Android/Test, Adjust/iOS/Test, and Adjust/Windows/Test. The iOS build is in progress now but I expect it should now succeed. |
Well, it's been more than 2 years. |
Hey @hanaytug, Since the issue has been opened, true. But less than that since @marcos-monumental tried out the suggested POC which I wanted to say many thanks. Unfortunately, we had some more urgent things in backlog lately, but we do aim to close this topic in Q3. |
Hey guys. Just wanted to ping here for an update that this task has been shifted a bit on our end due to post-WWDC2023 tasks that got prioritized on our end and is aimed to be done in October. I'll keep you posted. |
Okay, one more time sorry for delay on this one and thanks for all the patience and feedback. @marcos-monumental big special thanks to you and in this comment of mine, I'm looking in your direction and things that you have mentioned in this comment.
Yes, this is an interesting issue, not sure still how to dance around it in some optimal way. However, in the current solution I think we can have as an initial way to go for UPM usage, I have removed completely all the testing related things because other than helping us internally with the testing, there's no much gain for clients in having these files inside of their apps - it's completely useless. According to what you wrote and faced as an issue, it seems to me that
Thank you very much for this and the contributions. I have cherry picked your commits and made them part of this initial UPM support version. If you (and anyone else following the ticket) would be willing to try adding the Adjust Unity SDK via UPM from Sorry one more time for the waiting and looking forward to hear back from you. |
Hi @uerceg, at Homa Games we are migrating all of our publishing SDK packages to UPM format. Since we are using Adjust we'll need to do the same with your SDK. Thankfully I found your post before doing any work 👍 I'll come back here in the future to leave our feedback. Thanks! |
Hi @ErnSur, Thank you very much for that! Looking forward to hearing feedback from your end. Cheers |
@uerceg After one fix I was able to build a project. Fix is here -> #286 I also saw that there's a Newtonsoft.Json dll in the Windows folder. We don't care about this platform but ideally you should probably replace it with a package dependency to the official newtonsoft unity package. Like this: // in package.json
"dependencies": {
"com.unity.nuget.newtonsoft-json": "3.2.0"
}, |
Hey @ilterbilguven, That's right, asmdefs are still not there in the v5 beta (sorry about that), but we're planning to add them before the v5 is made official. For the time being, it's just structured in a way how v4 is, but once live, it should come with asmdefs. |
@ilterbilguven Oh, right and also for the time being (v5 beta) we are sticking with native dependencies as iOS framework and Android AAR, because we don't have native versions officially pushed to public CocoaPods and Maven channels, but once those are live and once we are good to release Unity v5 officially, we're gonna swap those in favor of External Dependency Manager. Also thinking in direction of packaging EDM together with our SDK's |
@uerceg for supporting older Unity versions, which don't have UPM, it's fine. For a more modern approach, it needs to be in UPM format. You can put the SDK under Google officially supports EDM4U on OpenUPM, you can add it as a dependency and release the SDK to OpenUPM, which will make everything sooo simple. |
Hello there!
It would be very nice to have the sdk asmdefs to be able to reference to Adjust namespaces from other assembly defines. For now it's only possible to use Adjust from main assembly.
Also missing asmdefs forces unity to recompile adjust every time scripts are recompiled.
Are you planning to fix that or we can just forget about it?
The text was updated successfully, but these errors were encountered: