注册

注册步骤在设备的系统中注册应用程序并返回注册 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);
    
        });