I’m having trouble figuring out when the “noPoptart” event phase is called. I’m testing my code on an Android device right now, and the first time I call saveMoment the popTart shows as expected. When I dismiss the popTart, setupStore() is called as expected. The second time I call saveMoment, a popTart doesn’t show, but setupStore() isn’t called. I expected the event phase “noPoptart” to be called in the case of Kiip not showing an ad, which would call setupStore().
Here is the code for my saveMoment:
local function loadKiip() if options.kiip == true and options.network == true then kiip.saveMoment( { momentName = "surviving the horde!", listener = function( event ) if event.phase == "dismissed" or event.phase == "error" or event.phase == "noPoptart" then setupStore() end end, }) else setupStore() end end