Skip to content

Commit 1d27467

Browse files
committed
Remove macOS tentative support for now. Only iOS and tvOS for now.
1 parent 486ad65 commit 1d27467

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

com.lupidan.unity-apptrackingtransparency/Runtime/AppTrackingTransparencyModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if UNITY_IOS || UNITY_TVOS || UNITY_STANDALONE_OSX
1+
#if UNITY_IOS || UNITY_TVOS
22
#define PLATFORM_SUPPORTS_APPTRACKINGTRANSPARENCY
33
#endif
44

com.lupidan.unity-apptrackingtransparency/Runtime/Native/AppTrackingTransparency.Native.asmdef

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"includePlatforms": [
77
"Editor",
88
"iOS",
9-
"macOSStandalone",
109
"tvOS"
1110
],
1211
"excludePlatforms": [],

com.lupidan.unity-apptrackingtransparency/Runtime/Native/NativeAppTrackingTransparencyManager.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,7 @@ public static void ExecutePendingCallbacks()
105105

106106
private static class PInvoke
107107
{
108-
#if UNITY_IOS || UNITY_TVOS
109108
private const string DllName = "__Internal";
110-
#elif UNITY_STANDALONE_OSX
111-
private const string DllName = "MacOSAppTrackingTransparencyManager";
112-
#endif
113109
public delegate void RequestTrackingAuthorizationCallbackDelegate(uint requestId, uint rawAuthorizationStatus);
114110

115111
[AOT.MonoPInvokeCallback(typeof(RequestTrackingAuthorizationCallbackDelegate))]

0 commit comments

Comments
 (0)