註冊
註冊步驟在裝置的系統中註冊應用程式並返回註冊 ID
import { Push, RegistrationEventResponse} from "ionic-native";
//the push element is created in the initialization example
push.on("registration", async (response: RegistrationEventResponse) => {
//The registration returns an id of the registration on your device
RegisterWithWebApi(response.registrationId);
});