refactor(notify): make needsPermissions a Boolean prop, update tests