Coder Social home page Coder Social logo

Comments (2)

uerceg avatar uerceg commented on August 12, 2024

Hey @donuts-mineshima and the upvoters,

The challenge we have faced (and why Unity SDK 4.38.0 update is lagging a bit behind) is because the way how we are bundling native iOS SDK (just plain ol' .a library + public header files) && with the Unity's inability to simply allow us to drop Privacy Manifest file as a resource which Xcode will later understand that it belongs to our SDK, creating Unity SDK release which under the hood contains iOS SDK which has Privacy Manifest bundled inside would be a breaking change.

In case anyone is curious why, it would be because right now all your apps are built in a way that they have our .a library and header files linked to your app's Xcode project. Simple removal of those files from upcoming Unity SDK update would not work for 2 reasons:

  1. Unity IDE doesn't remove by default the files which new version of Unity plugin removes (it only adds new ones and modifies existing where it notices diffs). We unfortunately don't have any Editor script to monitor all the files during import of the new plugin version to potentially do this cleanup on our behalf. Even if we would be having this, issue 2 is there:
  2. .a and .h native files are already linked to your Xcode app project and those can't be easily removed unless manually. Sure, if someone decides to regenerate Xcode project, it would help and solve things, but there's probably a lot of users who are always appending changes when building. One can also argue that in some pre-processing scripts we could make sure to unlink not needed .a library anymore (and make existing .h files not to disturb the build process), but this can also have consequences in backwards compatibility within the current major version of the SDK (for the time being, downgrading Unity SDK is not that complicated process; these changes would make it a bit harder).

So a lot of tradeoffs for questionable gains having following things in mind:

  • It seems that if one would specify app level Privacy Manifest and simply add Adjust Privacy Manifest entries there, that should "do the trick".
  • We are getting closer behind the scenes to the possibility to ship next major SDK version update (v5) which would allow us to break things and where we will have the ability to include native iOS SDK under the hood so that it bundles Privacy Manifest file.
  • So for the time being, we will release (today or Monday) Unity SDK v4.38.0 which includes native iOS SDK under the hood, but w/o Privacy Manifest bundled (whose options for the time being would need to reside inside of your app-level Privacy Manifest, but hopefully not for long time).

How does that sound to you?

from unity_sdk.

uerceg avatar uerceg commented on August 12, 2024

Having in mind that Monday has arrived, we have shipped the v4.38.0 which you can add to your app && just make sure to add Privacy Manifest entries needed for our SDK to your app-level Privacy Manifest (for the time being).

I'll close this issue for now, but in case you have any further questions, feel free to comment / reopen if needed.

Cheers guys.

from unity_sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.