if (ContextCompat.checkSelfPermission(RegisterActivity.this, Manifest.permission.READ_PHONE_STATE) == PackageManager.PERMISSION_DENIED){ ActivityCom
I came across this problem in Samsung S8 and N8 (havent found in any other)
so the problem is in the manifest file uses-permission
For some reason, the attribute android:requiredFeature is the culprit. and I haven't found the explanation on why.
android:requiredFeature
to solve simply remove it,