Last modified January 14, 2021 by Shelly Wolfe

How do I use stripping level in Unity with Swrve?

If you are using the Swrve Unity SDK, you may have instrumented the stripping level to decrease the size of your app. To continue using the stripping level in Unity, be sure to include a link.xml file in the Unity Assets folder with the following contents:

<assembly fullname="mscorlib"> 
<type fullname="System.Security.Cryptography.MD5CryptoServiceProvider" preserve="all"/> 

The above code enables the app to build by including the Cryptography.MD5CryptoServiceProvider class. This class is important for encrypting A/B test resources, therefore making your app connection with Swrve more secure. If your app uses the stripping level, and you haven’t instrumented the above code, errors may occur when A/B test resources are requested.