I have developed an education app for specific people. I want that my app only get installed on their devices (on specific IMEI devices).
I know that, After application installed, my app can verify those IMEI numbers. But as we all know that, we can put some restriction (like Minimum SDK version) in manifest file. I was wondering, Is there any device Id restriction we can add inside manifest file, that verify while installation.
If So, than I generate different apk files for all of them...
From android there is no way i mean you cannot restrict through any permission but yes through smart coding you can achieve it
1) Anyways you will get the IMEI numbers of the users phone so programatically you can check the condition on landing/splash page if IMEI==USER_IMEI_NUMBER then only he/she can able to see its main page else he will not get authority to enter into main page but for that you need to create APK file for each device
2) If you dont know how many users will use your app then you can do remote database in that database you can save new users IMEI number and in splash/landing page you can check through webservice that IMEI==USERS_IMEI_NUMBER (from remote database) then he/she can use your app but off course for that you need to mention internet permission in it and user must have valid internet connection if you dont want user to check it identity/IMEI number each time then you can validate user at once and you can save its result in shared preferrences and you can give access to user everytime without hiting webservice for validation
hope this suggestion may help you happy coding :)