We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f48326 commit ccd1309Copy full SHA for ccd1309
1 file changed
Packages/com.walletconnect.web3modal/Runtime/Controllers/EventsController.cs
@@ -4,7 +4,6 @@
4
using Newtonsoft.Json;
5
using UnityEngine;
6
using WalletConnect.Web3Modal.Http;
7
-using WalletConnectUnity.Core;
8
9
namespace WalletConnect.Web3Modal
10
{
@@ -54,6 +53,10 @@ private async Task LoadRemoteAnalyticsConfig(ApiController apiController)
54
53
55
public async void SendEvent(Event @event)
56
+#if !UNITY_IOS && !UNITY_ANDROID
57
+ // Temporary disable analytics for non-mobile platforms
58
+ return;
59
+#endif
60
try
61
62
if (_state == AnalyticsState.Disabled)
0 commit comments