go-ios
go-ios copied to clipboard
Cannot disable device state
Describe the bug I cannot disable active device state using 'control.Disable(pType)'
To Reproduce Steps to reproduce the behavior:
- Enable a device state on a device using 'control.Enable(pType, profile)'
- Check the state - should be active
- Attempt to disable the active device state using 'control.Disable(pType)'
- Check the state - it is still active.
Expected behavior 'control.Disable(pType)' should disable the provided device state
Desktop (please complete the following information):
- OS: Ubuntu 18.04 LTS
- Version v1.0.46
Smartphone (please complete the following information):
- Device: iPhone SE 2019
- OS: 15.0
Additional context I am trying to get a webserver to activate/deactivate a state on a device using a direct implementation of the go-ios code, not the CLI so SIGTERM can't be called.