Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
To clear a parameter, you should pass nil to value:
google-analytics-plugin-for-unity/source/Plugins/iOS-nobitcode/GAITracker.h
Lines 33 to 37 in 49a1ddf
But first, this call is made, which calls +(NSString)stringWithUTF8String on value, which will throw when null is passed.
google-analytics-plugin-for-unity/source/Plugins/iOS-bitcode/GAIHandler.m
Lines 108 to 113 in 49a1ddf
But before calling those two, you must call this in C#, which calls ToString() on the value without checking if it's null.
google-analytics-plugin-for-unity/source/Plugins/GoogleAnalyticsV3/GAIHandler.cs
Lines 95 to 97 in 5a5caee
Finally, SetTrackerVal, which should be able to accept null to clear parameters, but crashes due to aforementioned problems.
google-analytics-plugin-for-unity/source/Plugins/GoogleAnalyticsV3/GoogleAnalyticsiOSV3.cs
Lines 124 to 126 in 5a5caee