Comments (4)
Hi @kelvinharron ,
Good to hear that you figured it out!
The default serverZone
value is US, as I notice you mentioned ServerZone.EU
in the steps to produce, so I tested it with my EU Amplitude project. This is the expected behavior that after setting EU, it will send to the EU endpoint, and the new version (0.3.1) fixed a bug to make this ServerZone.EU
actual work.
If you need to use the EU server, you need to create a project in the EU endpoint as you mentioned above, the API key is not shared across projects. I am not sure about the process of moving to EU, contacting customer support would definitely be helpful on this.
Closing this now, feel free to leave comment if you have more questions, thanks again for supporting Amplitude!
from amplitude-swift.
Hi @kelvinharron ,
Thanks for supporting Amplitude!
I just tried the example with following configure, the events are fired and showing up in Amplitude:
configuration: Configuration(apiKey: "xxx", logLevel: LogLevelEnum.DEBUG, serverZone: ServerZone.EU)
I don't think it is related to that change. Could you add the callback to check what is the response?
configuration: Configuration(
apiKey: "xxx",
logLevel: LogLevelEnum.DEBUG,
callback: { (event: BaseEvent, code: Int, message: String) -> Void in
print("eventcallback: \(event), code: \(code), message: \(message)")
},
serverZone: ServerZone.EU,
)
Thanks!
from amplitude-swift.
Hey @liuyang1520 thank you for the useful snippet and apologies for the delay in getting back to you.
I worked it out, the callback is not invoked on version 0.3.1
because the serverZone
property is set to EU. When I remove this setting I can see the events being fired up! Was this an intended change from the new version?
I believe the admin who created our project created it on https://analytics.amplitude.com
not https://analytics.eu.amplitude.com
, as our login only works for the former. I figure this means the library is behaving as expected, before closing this out I assume your recommendation is to contact support about discussing a move to the EU server? Thanks again! 😄
from amplitude-swift.
Thanks again for the support @liuyang1520 !
from amplitude-swift.
Related Issues (20)
- Events are sent in wrong order or missed? HOT 4
- Persistent Storage uses caches/document directory
- Tweak code generation
- disableIDFV on tracking options has no effect HOT 1
- Returning `nil` from a plugin crashes the app HOT 5
- Potential issue with cache file location HOT 4
- setOnce operation does not work HOT 2
- Need ATTrackingManager??
- Automatic screen tracking doesn't work HOT 3
- Migrating AMPTrackingOptions
- SDK repeatedly retries bad requests HOT 19
- Custom instance name appears to cause issues reconciling past events, causing memory leak and crashes HOT 4
- visionOS support HOT 8
- How to disableLatLng HOT 2
- Amplitude dashboard with macOS filter return iPadOS statistics HOT 4
- Carthage requires AnalyticsConnector on every DerivedData clean HOT 1
- Broken Compilation using non-current SDKs HOT 2
- Crash in SDK HOT 1
- Revenue event HOT 2
- Flushing events on the main queue causing an app hang HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplitude-swift.