Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Squaby Demo

 import QtQuick 2.0
 import Felgo 4.0

 Chartboost {
   id: chartboost

   appId: ""
   appSignature: ""
   shouldDisplayInterstitial: true
   shouldDisplayLoadingViewForMoreApps: false
   shouldDisplayMoreApps: false
   shouldRequestInterstitial: true
   shouldRequestInterstitialsInFirstSession: true
   shouldRequestMoreApps: false

   property bool showAdvert: false

   onInterstitialCached: {
     console.debug("[chartboost] onInterstitialCached")
   }

   onMoreAppsCached: {
     console.debug("[chartboost] onMoreAppsCached")
   }

   onInterstitialFailedToLoad: {
     console.debug("[chartboost] onInterstitialFailedToLoad")
   }

   onMoreAppsFailedToLoad: {
     console.debug("[chartboost] onMoreAppsFailedToLoad")
   }

   function showAdvertIfAvailable() {
     chartboost.shouldDisplayInterstitial = true
     chartboost.showInterstitial()
   }

   function doNotShowAdvert() {
     chartboost.cacheInterstitial()
     chartboost.shouldDisplayInterstitial = false
   }
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded