Adjusted the registration to pass navigator.platform.