Comments (4)
Hi, the country code is meant for geographical position, not culture/locale.
On Analytics we already report the culture/locale automatically and you can see it on the portal in Analytics > Audience > Languages.
Countries chart on the left is meant for actual geographical position.
On Android and iOS, we report country only if you have a mobile carrier at the moment.
The API you mentioned cannot be used to determine geographical position, it simply returns this:
I am in Redmond, USA, not Antarctica, users can put whatever they want there.
from appcenter-sdk-dotnet.
Any updates on this? I had a crash in my app as the docs didn't have a sample for this and the example I got elsewhere was invalid.
Is it possible to get the user's location for UWP without adding a capability to the app? It does seem like the Globalization API is going to be a rough approximation as I'd imagine most users who setup their PC in their own country would have this value set to their country? Are there stats on the changes people make to this setting and how often it differs from the real location?
from appcenter-sdk-dotnet.
Also, according to the location docs that value can only be retrieved when the app is in the foreground, so the timing with when to set and start the App Center API would need to be carefully considered/documented.
from appcenter-sdk-dotnet.
Hi there! We already have an AppCenter.SetCountryCode
API for setting country code manually. Please see a code sample for how to do it.
I'm closing this issue but feel free to reopen it if you will have additional questions.
from appcenter-sdk-dotnet.
Related Issues (20)
- Wrong version is reported in crashes if the app is updated in between
- `SystemInformation.Instance.LaunchTime` doesn't get the launch time correctly HOT 2
- AppCenter.Start causes error : "database is locked" HOT 9
- WPF Desktop bridge app does not report crashes to the AppCenter HOT 12
- AppCenter thinks the application is WPF but it is actually a WinForms application when using a WPF component. HOT 4
- WPF App does not report crash with specified supported OS version HOT 1
- MAUI Blazor Hybrid - linker error on iOS Simulator HOT 7
- Could not create an native instance of the type 'Microsoft.AppCenter.Apple.Bindings.MSACWrapperSdk HOT 8
- How can I use AppCenter in uwp c++/cx project? HOT 1
- Distribute.IsEnabledAsync always returns false; AppCenter.Start was called earlier. HOT 21
- [ macOS ] [ 5.0.2 ] "Asset validation failed" error when submitting to App Store HOT 5
- Microsoft.AppCenter.Crashes clang++ exited with code 1 when compiling for ios-simulator on pair arm64 mac in VS for Windows HOT 78
- Package Microsoft.AppCenter 5.0.3 is not compatible with net7.0-windows10.0.22621 HOT 8
- Use DefaultApplicationSettings from UWP in packaged WinUI 3 project? HOT 1
- WinUI 3: AppCenter includes dependency to UniversalWindowsPlatform HOT 12
- [Feature request] the custmize option of DB type HOT 1
- Building .NET 8 WPF app produces warning NETSDK1206 HOT 1
- MAUI .NET8 cannot deploy to remoted iOS Simulator - linker issues HOT 1
- iOS Build fails because of AppCenterCrashes.a HOT 2
- On .NET for iOS crash stack trace gets cut off whenever an exception happens in a synchronous callback method HOT 2
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 appcenter-sdk-dotnet.