AdBlock

Check if the ad blocker is enabled.

local bridge = require("bridge.bridge")

function init(self)
	bridge.advertisement.check_ad_block(function (_, data)
		print("Is adblock detected: ", data)
	end, 
	function ()
		-- error
	end)
end

Last updated