MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / isRewardedSupported

Function isRewardedSupported

src/lib/adRewards.js:317–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315 return Boolean(!config.HAS_PRO && !this.isAdFreeActive());
316 },
317 isRewardedSupported() {
318 return Boolean(!config.HAS_PRO && admob?.RewardedAd && adUnitIdRewarded);
319 },
320 getRewardedUnavailableReason() {
321 if (config.HAS_PRO) {
322 return "Ads are already disabled on this build.";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected