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 best solutions below
Related Questions in XAMARIN.ANDROID
- How do I Insert a Previously Created SQLite Database into a Xamarin.Android App?
- ReplacementSpan in multiautocomplete textview overlap
- xamarin.forms.labs ImageButton issue
- InvalidCastException in release when casting TextFormatted to ISpannable or ISpanned
- Xamarin: How to print from Android device to dot matrix printer?
- How to hide out a layout in Xamarin.forms C#?
- Google Maps leaking JNI global reference
- Error after Enable Multi-Dex in Xamarin Android
- Show Dialog Fragment in Fragment
- Why is my DrawerLayout still open on activity resume, in spite of closing it?
- namespace prefix "myapp" is not defined in Xamarin While Building App?
- Exception when launching activity from PreferenceScreen
- How to set SQLite(SQLite.NET component) database Version in Xamarin Android
- Is iOS, Android binded libraries in Xamarin working in all devices(WinPhone, iOS, Android)?
- How to handle context menu in WebViewRenderer?
Related Questions in MAC-ADDRESS
- Regex matching MAC address
- Get MAC address of NIC that has the default route
- NodeJS - get MAC address when offline
- programmatically change Mac address-Android
- getmac ERROR: Invalid Class (Windows 8.1)
- Is it possible to track mac address of client with PHP code. If yes how and if no why?
- Detecting wi-fi or cable network interface by mac address
- IP from MAC Address of a computer not in my network(remote)
- Get ethernet router MAC address in android
- Mac Id is coming same in 2 PCs while using C#
- Get ipconfig result with python in windows
- In my iOS application, the user has to register their `unique device` for full access of the app which remains same even after reinstallation
- How to locate specific mac address using python
- What is the difference between a physical address and MAC address in networking?
- How to run a command to use data from a txt file to execute them one by one smartly
Related Questions in ANDROID-10.0
- How to pick video or image from gallery and get its path according to Android 10 (API Level 29) as Mediastore.Video.Media.DATA is deprecated
- Keep file after wipe data in Android 10
- Android 10 Bluetooth disconnecting background services
- Different Android Id in Android 10
- Change default sms app intent not working on android 10
- Flutter webview black screen when keyboard is popping up
- Xamarin: Saving files to external storage on Android with an API level >=29
- How to merge video and audio into one file [Android Q]
- How to make connection to the device in wifi via android app..I need persistent connection (That is does not lost after exiting the app)
- How to write a file to external storage in Android 10 using Android Studio
- ACTION_SET_ALARM from service on Android 10+
- Write permissions not working - scoped storage Android SDK 30 (aka Android 11)
- Call Recording is Available or Not in Android 10?
- how open activity from ForegroundService when phone is locked and screen is off in android 10?
- Xamarin.Plugin.FilePicker - content:/com.android.providers.downloads.documents Problem
Related Questions in ANDROID-9.0-PIE
- SE Linux Android 9 AOSP: Adding a permission in system/sepolicy/private/untrusted_app.te file leading to a build failure
- Android 9 doesn't show the notification bar when downloading files in my app
- Xamarin.Android: Unable to get device Mac Address in Android-11
- Android 9.0 - How to find if user has inserted a corrupted sd card?
- EditText in a DialogFragment hides it's value when it gets focus
- How to fix the problem with error "No virtual method" on android
- Android 9 Screen Rotation Approach
- Android API 28 getBitmap throwing "no such column" error
- Saved video not showing in gallery android 9
- NumberPicker Restrictions on non-SDK interfaces
- Android P non SDK interface restrictions applicability to android.support and/or androidx
- Android Camera: getPhysicalCameraIds is not found
- Divider between PreferenceScreen's
- How to disable multi touch with Android P?
- Drag and Drop crash in Android 9 Pie
Related Questions in ANDROID-11
- Mediastyle notifications not working in android 11
- Android 11- Location One-Time Permission, how to know if this was selected by the user
- Save in Contacts works in Android 10 but not in Android 11
- Android 11 - window.setDecorFitsSystemWindow doesn't show screen behind Status and Navigation Bars
- Xamarin: Saving files to external storage on Android with an API level >=29
- Android 11. ContentResolver.query return empty cursor
- Write permissions not working - scoped storage Android SDK 30 (aka Android 11)
- Google PanoramaAPI stopped working on Android 11
- java.lang.IllegalArgumentException: Unknown URI when trying to open downloaded image
- Android 11 app crash with "The meta-data tag in your app's AndroidManifest.xml does not have the right value. Expected 12451000 but found 4323000"
- Creating a new sharable text file using Flutter in Android 10 and above
- Access Microphone / Camera in background in Android 11
- Cannot take a photo programmatically on Android 11 - intent returns canceled status
- Background Microphone access in Android 11 throws exception
- SpeechRecognizer not available when targeting Android 11
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)
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?
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