go-ios icon indicating copy to clipboard operation
go-ios copied to clipboard

Cannot disable device state

Open shamanec opened this issue 3 years ago • 0 comments

Describe the bug I cannot disable active device state using 'control.Disable(pType)'

To Reproduce Steps to reproduce the behavior:

  1. Enable a device state on a device using 'control.Enable(pType, profile)'
  2. Check the state - should be active
  3. Attempt to disable the active device state using 'control.Disable(pType)'
  4. 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.

shamanec avatar Jan 22 '22 06:01 shamanec