mirror of
https://github.com/Snouzy/workout-cool.git
synced 2026-05-19 14:40:35 +00:00
feat(app/[locale]/layout.tsx): initialize ezstandalone rewarded ads with specific options to enhance ad control and user experience
This commit is contained in:
@@ -268,7 +268,12 @@ export default async function RootLayout({ params, children }: RootLayoutProps)
|
||||
window.ezstandalone = window.ezstandalone || {};
|
||||
ezstandalone.cmd = ezstandalone.cmd || [];
|
||||
ezstandalone.cmd.push(function() {
|
||||
ezstandalone.initRewardedAds();
|
||||
ezstandalone.initRewardedAds({
|
||||
anchor: false,
|
||||
interstitial: false,
|
||||
video: false,
|
||||
sideRails: false
|
||||
});
|
||||
});
|
||||
window.ezRewardedAds = window.ezRewardedAds || {};
|
||||
window.ezRewardedAds.cmd = window.ezRewardedAds.cmd || [];
|
||||
|
||||
Reference in New Issue
Block a user