I can enable and receive test notifications in the iOS Sample app. When I try to disable them (on an iPhone running iOS 10.3.2) the switch flips just fine, but it does not change the status to inactive (even if I leave that view visible for multiple minutes). I have to background and reopen the Sample app for that change to be sent up, even though reactivating is handled as soon as the switch is flipped. I was experiencing similar in the app I'm adding UA to.
I'm using the most recent version of the Sample app: https://github.com/urbanairship/ios-library/tree/master/Sample. Any help would be appreciated.