DEAR I HAVE A MOBILE APPLICATIN WHICH IS FOR INTERNAL STAFF ONLY so Its not on playstore , Now I WANT to restrict this app to be used on specific devices , previously we were capturing the mac and IEME number and then matching that but now someone said that mac address and IMEI code cannot be get using android code what are the alternatives or best practices for that case.
Loading
Naimish MakwanaPosted Feb 14, 2023, 3:47 AM
Hello Mark,
There are alternative methods to restrict access to your mobile app to specific devices:
Generate a unique identifier for each device and store it in the app. This identifier could be based on the device's hardware characteristics, such as the device's manufacturer, model, and operating system version. You can use a library such as Google's SafetyNet Attestation API to generate a unique identifier for each device.
Use a Mobile Device Management (MDM) solution. MDM solutions allow you to manage and secure your organization's mobile devices. You can use an MDM solution to whitelist specific devices that are authorized to use your app.
Use a VPN. You can configure your app to only work if the user is connected to a VPN that you control. This ensures that your app is only accessible to devices that have been authorized to connect to your VPN.
Thanks
Naimish