Ejemplo n.º 1
0
 void OnApplicationPause(bool pause)
 {
     if (!pause)
     {
         AdBuddizBinding.CacheAds();
     }
 }
Ejemplo n.º 2
0
 void Start()                                                              // Init SDK on app start
 {
     AdBuddizBinding.SetLogLevel(AdBuddizBinding.ABLogLevel.Info);         // log level
     AdBuddizBinding.SetAndroidPublisherKey("TEST_PUBLISHER_KEY_ANDROID"); // replace with your Android app publisher key
     AdBuddizBinding.SetIOSPublisherKey("TEST_PUBLISHER_KEY_IOS");         // replace with your iOS app publisher key
     AdBuddizBinding.SetTestModeActive();                                  // to delete before submitting to store
     AdBuddizBinding.CacheAds();                                           // start caching ads
 }
 void Start()                                                                        // Init SDK on app start
 {
     AdBuddizBinding.SetLogLevel(AdBuddizBinding.ABLogLevel.Info);                   // log level
     AdBuddizBinding.SetAndroidPublisherKey("3c98287f-97cd-4605-92f9-3968a5c8e735"); // replace with your Android app publisher key
     //	AdBuddizBinding.SetIOSPublisherKey("TEST_PUBLISHER_KEY_IOS");         // replace with your iOS app publisher key
     // to delete before submitting to store
     AdBuddizBinding.CacheAds();                                                   // start caching ads
 }
Ejemplo n.º 4
0
    void Start()
    {
        // Initialise Adbuddiz
        AdBuddizBinding.SetAndroidPublisherKey(Constants.adBuddizPublisherKeyAndroid);

        // Cache Ads
        AdBuddizBinding.CacheAds();

        AdBuddizManager.didShowAd += showChartboostInterstitial;
    }
Ejemplo n.º 5
0
    // Use this for initialization
    void Start()
    {
        if (!PlayerPrefs.HasKey("notificationImpact"))
        {
            PlayerPrefs.SetInt("notificationImpact", 1);
        }
        if (!PlayerPrefs.HasKey("notificationBefore"))
        {
            PlayerPrefs.SetInt("notificationImpact", 5);
        }
        refreshListFleet();

                #if UNITY_IPHONE
        UnityEngine.iOS.NotificationServices.CancelAllLocalNotifications();
        AdBuddizBinding.SetIOSPublisherKey("67ae8096-ed6f-4887-a78e-83435733ecfb");
        AdBuddizBinding.CacheAds();
                #endif
                #if UNITY_ANDROID
        NotificationManager.CancelAll();
        //AdBuddizBinding.SetIOSPublisherKey("67ae8096-ed6f-4887-a78e-83435733ecfb");
        //AdBuddizBinding.CacheAds();
                #endif
    }