File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,19 @@ Add the following `meta-data` entries to your AndroidManifest.xml inside the <ap
116116...
117117```
118118
119-
120119### Using the proxy server with the iOS SDK
121120
122121Immediately after you initialize the Mixpanel instance, set the proxy url:
123122``` objectivec
124- self.mixpanel.serverURL = YOUR_PROXY_DOMAIN; // e.g. "https://proxy-eoca2pin3q-uc.a.run.app"
123+ self.mixpanel = [Mixpanel sharedInstanceWithToken: @"YOUR_PROJECT_TOKEN" launchOptions: launchOptions ] ;
124+ self .mixpanel.serverURL = YOUR_PROXY_DOMAIN; // e.g. @"https://proxy-eoca2pin3q-uc.a.run.app "
125+ ```
126+
127+
128+ ### Using the proxy server with the Swift SDK
129+
130+ Immediately after you initialize the Mixpanel instance, set the proxy url:
131+ ```swift
132+ mixpanel = Mixpanel.initialize(token: "YOUR_PROJECT_TOKEN")
133+ mixpanel.serverURL = YOUR_PROXY_DOMAIN // e.g. "https://proxy-eoca2pin3q-uc.a.run.app"
125134```
You can’t perform that action at this time.
0 commit comments