Skip to content
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

Does "Private Space" of Android 15 will impact us? #3989

Closed
kelson42 opened this issue Sep 11, 2024 · 4 comments
Closed

Does "Private Space" of Android 15 will impact us? #3989

kelson42 opened this issue Sep 11, 2024 · 4 comments
Assignees
Labels
Milestone

Comments

@kelson42
Copy link
Collaborator

image

@MohitMaliFtechiz
Copy link
Collaborator

MohitMaliFtechiz commented Sep 11, 2024

@kelson42 The "private space" in Android 15 restricts the showing of notifications when the private storage is locked. So in our case notification will be shown when the application is running e.g. when using read aloud or starting the hotspot, etc. So in this case "private storage" does not affect our functionality in unlocked mode.

But when the "private storage" is locked. Then all the background and foreground services will be stopped as mentioned in the official docs, and in our custom apps currently, we do not have the hotspot functionality so it does not impact the custom apps.

But for the Kiwix app, we have to test these scenarios with hotspot and downloading functionality to be sure that private storage does not impact these functionalities when private storage is locked. I will test these scenarios and will update the findings here.

@kelson42
Copy link
Collaborator Author

kelson42 commented Jan 3, 2025

@MohitMaliFtechiz Do we still use the private storage?! I though we use now the "app public directory" in any case?

@MohitMaliFtechiz
Copy link
Collaborator

@kelson42 In Android 15 "Private Space" functions like a separate user profile, meaning apps must be installed separately within it(Full information about this feature https://support.google.com/android/answer/15341885?hl=en). It is not about the "app public directory"(storage locations). I have fully tested the Kiwix Android, and custom apps with "Private storage" and both the apps are working fine when the "Private storage(second user profile is unlocked)", and when I explicitly locked the "Private storage" then all the apps inside it stops functioning e.g. any foreground. background tasks stop. It is a feature of the "Private storage".

So when the application is downloaded in the private storage and the user locks it then the following things will not work:

  • Any ongoing downloads will stop, they again start when the "Private storage" is unlocked.
  • If Kiwix server is running, it will stop.
  • Shortcuts of the application will not be added on the home screen(e.g. Search widget). Because it is totally different from the main storage.

The Play Store was giving a warning about our medical custom app because they think our critical functionality e.g. sending important notifications will not work if the application is installed in the "private storage", and it's locked. However, we do not have this kind of functionality in our application where we send notifications from the background. The full restriction is shown here for medical apps https://developer.android.com/about/versions/15/behavior-changes-all#private-space-medical-apps.

@kelson42
Copy link
Collaborator Author

kelson42 commented Jan 4, 2025

@MohitMaliFtechiz 100% clear now. Thx. Closing as there is nothing to do.

@kelson42 kelson42 closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants