I have developed an appliation which get the device mac address and then query from the database. Previously my app was working fine but now I am migrating to Android-11 and not able to get Mac address. I don't have real device for testing/debugging but my client reported that he is not having mac address. Can any body please guide why I am having working app not working for latest android versions or if there is any critical update.
Xamarin.Android: Unable to get device Mac Address in Android-11
1.9k views Asked by user6159419 At
1
There are 1 answers
Related Questions in XAMARIN.ANDROID
- Extracting Last 4 Digits from RPM Response in Xamarin Android (e.g., "41 0C") and Performing Decimal Conversion and Division by 4
- Xamarin android emulate usb PC Keyboard
- Java.Lang.IllegalStateException: 'Unable to parse composition' using Lottie in splashscreen xamarin forms (android)
- AzureDevops Pipeline Generate APK: Error XALNK7000: Mono.Linker.MarkException
- Unable to clear App cache in Xamarin.Forms Android
- Xamarin Android Memory Usage
- Failed to resolve SDK 'Microsoft.NET.Sdk'
- Why are there no results after clicking button even though event handler is initiated and button_click method created?
- How to perfectly localize DatePicker, TimePicker in Xamarin
- .Net Android (Maui) Writing external storage doesn't work until I restart the application in below 13 version
- Syncfusion/Xamarin Numeric Keyboard broken - 2 different characters within the same button
- Alarm manager does not trigger broadcast receiver when app is closed
- ExtendedListView not scrolling to correct position
- Can not resolve reference 'Package' referenced by 'Project.Android', when updating a new package in an existing project
- How to make a row in a list after clicking a buttom xaml
Related Questions in MAC-ADDRESS
- Why isn't the MAC address of the default gateway sent in a DHCP acknowledgement?
- quadlet podman container with macvlan, how to configure mac address?
- MAc Address Android 11
- How to Permanently Set MAC Address in a SMART TV using 'busybox ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX'?
- Android - Target sdk Version = 29 but Didnt get Wifi Mac Address in API Level 33 (Android OS 13)
- I want to turn on and off the internet access of a certain IP or MAC address in my network with Python
- MAC Address to Location - available services
- Get built-in MAC Addresses from Laptops / Desktops in C# excluding all other
- How to get MAC addresses in C# .NET 2.0
- Kivy get hostname and MAC address from APK
- Manufacturer OUI info only 8 characters long in Network scanner
- Python HTTPServer that only responds to me?
- How to get the Mac address in k8s?
- How to get hard drive serial number(s) in OS agnostic environment
- Could a frame have different vendor specific fields?
Related Questions in ANDROID-10.0
- How to run a service in background on Android 10? Rooted device
- Honeywell Ck65 device with custom Camera app has darker image problems on android 10 verison?give suggestions
- Android 10 Enabled Magnification is not working properly on my device
- How to Connect to Wi-Fi in android app (API 29 or later) programmatically such that it should work other than the app
- In Android 10, is it possible to reboot or shutdown automatically?
- Network access in Android DOZE Mode
- Android 11 : FFmpeg binary not found error
- The voice is not switching form bluetooth to earpiece for the first time during ongoing call
- Huawei phones - can we detect "manage automatically" settings
- Turn off auto restart on android when remove screen?
- Installing Burpsuite certification into root CA does not work on Android 10
- Turning off SIM lock via ADB service calls or similar method
- App crashes when using Settings.ACTION_WIFI_ADD_NETWORKS in combination with startActivityForResult
- DeadObjectException only on Android 10
- How to specify generic hostname in cordova config on android 10
Related Questions in ANDROID-9.0-PIE
- Using WebView from more than one process at once with the same data directory is not supported in Samsung Gallaxy Note version 9
- Android NoSuchMethodError: setForceShowIcon in PopupMenu
- External Storge permission on Android 9.0-pie
- Programmatic connection to open WiFi network fails intermittently on Android 9
- Why doesn't my Android 9 app open automatically on a TV screen after restart, while it works on the emulator?
- How to set On/Off Timers on Android 9 using ADB?
- Application of the system theme
- Fix java.lang.IllegalStateException: 'You need to use a Theme.AppCompat theme (or descendant) with this activity' for specific devices
- How to fix : java.lang.RuntimeException: Unknown error at android.os.Process.getProcessGroup(Process.java) occurring only in Android 9 oppo devices
- Android API 28, save file in Download folder without user interaction
- Will updating packages to latest version break in lower API Android devices
- Android - MediaStore download does not work on API level 28 or lower
- How to add missing dependencies in android 9?
- Alternative function for android_createDisplaySurface?
- Is there an alternative for the Shutter method for cameraview in xamarin?
Related Questions in ANDROID-11
- (BottomNavigationView) The style on this component requires your app theme to be Theme.AppCompat (or a descendant)
- FCM Push Notifications Not Working in Quit State on Android 11 (React Native)
- Persistent USB Permission in android app upon reattachment
- store excel file to download in Save excel file downloads folder in android 11 and 12 in flutter
- The Android photo picker library does not open the gallery on Android 11 and 12
- Why the DowanloadManager was not working in Android Emulator Device?
- Android TV 11 locks database when app is in background
- How to get media list from trash bin in kotlin
- broadcast receiver of boot completed in android 11
- uiautomator dump does not dump when using multi display
- Scoped internal Storage access error on Android 11+: open failed: EACCES (Permission denied)
- Is it possible to change grayed out permissions on Android?
- [Android11+]why SurfaceComposerClient.h render in native process,the layer is always higher than the windowManager.addView in the application window?
- Adding custom SDK based on Andorid version 11 to Android studio
- Android App for Bluetooth Qualification Testing (GATT connection, L2CAP channel, RFCOMM channel, OBEX connection, PAN transport)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I found, Working with MAC for unique device identification is not best practice. Instead using MAC address we should use Android ID. https://www.appsflyer.com/mobile-attribution-glossary/device-id/
var deviceId = Plugin.DeviceInfo.CrossDeviceInfo.Current.Id;
Plugin.DeviceInfo.CrossDeviceInfo - i have used "DeviceInfoPlugin"
https://github.com/jamesmontemagno/DeviceInfoPlugin