Exemple #1
0
    private void InitializeSomeMethods()
    {
        // Listen to Register
        PusheUnity.OnPusheRegistered(OnPusheRegisteredSuccessfully);
        PusheUnity.OnPusheInitialized(() =>
        {
            PusheUnity.Log("Pushe Modules have initialized successfully.");
        });
        // Set notification listener
        PusheNotification.SetNotificationListener(new PusheNotifListener());

        // Check if pushe is already registered
        PusheUnity.Log(PusheUnity.IsRegistered() ? "Pushe is registered" : "Pushe is NOT registered!");
    }