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

Mobile and Windows application blocking not working #65

Open
pantherale0 opened this issue Nov 16, 2024 · 9 comments
Open

Mobile and Windows application blocking not working #65

pantherale0 opened this issue Nov 16, 2024 · 9 comments

Comments

@pantherale0
Copy link
Owner

          well I tried on my son's android, it doesn't seem to do anything. by the way, from Family Safety app there is no option to lock mobile as there is with windows devices, only block apps on mobile, there is an option to set up time limit for mobile (which blocks all apps with time limit)

Originally posted by @idorose in #37 (comment)

This seems to be related to the logic implemented here https://github.com/pantherale0/pyfamilysafety/blob/34c9df2c1dcafef227746efb888ced39edb137ba/pyfamilysafety/application.py#L5

@devdems
Copy link

devdems commented Nov 17, 2024

image
For me it doesn't even show the block mobile device option.

@pantherale0
Copy link
Owner Author

Block mobile doesn't do anything and has been removed. This issue is something else.

@devdems
Copy link

devdems commented Nov 17, 2024

Ok. Is this planned to be included later one if you find a way?

@pantherale0
Copy link
Owner Author

Unfortunately not, the API "supports" the command, however it seems Microsoft's apps themselves don't even give you the option block a mobile device, and when the block is turned on the mobile device is still usable.

I've never been able to get it to do anything myself.

@pantherale0
Copy link
Owner Author

@idorose I have just released 2024.12.0b2 which allows downloading diagnostic data. I don't need everything from it, but if you could find the application IDs that don't work when blocking / unblocking apps that would be fantastic. You can find them under the following key in the json file that is downloaded after pressing the Download Diagnostics button):

$.accounts[].applications[].id

@idorose
Copy link

idorose commented Dec 24, 2024

@idorose I have just released 2024.12.0b2 which allows downloading diagnostic data. I don't need everything from it, but if you could find the application IDs that don't work when blocking / unblocking apps that would be fantastic. You can find them under the following key in the json file that is downloaded after pressing the Download Diagnostics button):

$.accounts[].applications[].id

Hey, so I updated the integration, blocking \ unblocking service works for me now (yey!), but there is a problem if the app is not one word for example - Brawl Stars. I am getting an error, if I block Whatsapp its wroking perfectly

@idorose
Copy link

idorose commented Feb 7, 2025

Another problem is when you have the same app name on Windows and Mobile, it seems to block only one of them, for EG. app id x:androidplt:e23658734a781a3e and app id x:windowsplt:e23658734a781a3e are both WhatsApp, can you add an option to block apps according to that app id on the diagnostics JSON you told me to extract?

@pantherale0
Copy link
Owner Author

@idorose thanks for those IDs, they are useful to see.

Do you think if I added the platform to the start of the app name to distinguish between it would be ok? For example:

Android: WhatsApp
Windows: WhatsApp
Xbox: Brawl Stars

@idorose
Copy link

idorose commented Feb 8, 2025

Sounds great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants