-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work profile apps can NOT send SMS #291
Comments
Hey @jindalshreyansh were you able to get over this limitation? Is there any way to fix this issue? Even I am facing this issue. |
I feel this issue is because of some changes in Android 14 as I tried Shelter, Insular, Test DPC and noticed all apps fails to send SMS from work profile. |
It's a horrible, I repeat HORRIBLE hack, but if you can build a custom ROM you can bypass this by:
|
@DroidFreak32 Thanks for sharing the idea. Is this because it is a bug/feature in Android 14? Instead of this hack, can we do some config changes in TestDPC App, which very customizable alternative for creating work profile. Please have a look at the app, let us know if it can be done via any of the app's config. |
This is a restriction in the underlying system code, which was implemented in A13/14 and prevents Work Profile apps to use the SmsProvider. Only the primary user is allowed. The hack fakes the User ID for any call to SmsProvider sent by apps in work profile. Any Work profile managing apps cannot change the system behavior unfortunately (afaik). They simply use the Work Profile APIs exposed by android so any changes to that needs to be done at the ROM level. EDIT: Somewhere I have read something about assigning SIM to a profile, so apps requesting to send/receive SMS from the SIM assigned to the work profile might not be affected. |
@DroidFreak32 Maybe you are right but the Google's doc says SMS should work in Work Profile via SMS app in Personal Profile.
So, ideally we should have been able to send and receive SMS from work profile via sms app in personal profile. So I think it's a bug in Android 14. I read that it was working in Android 13. |
I am from India, and all the payment apps here use UPI. The way it works is that the app is required to send an automated SMS to the bank to verify the identity of user.
Earlier, in Android 13, things were working fine. However, after updating to Android 14, shelter apps can not send such SMS. Also, they can not auto read OTPs.
The text was updated successfully, but these errors were encountered: