[sdk-register] make registration view optional