Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.advChannels = "{{__adv_channels_adapter__}}" Not Working #19

Open
smpiondev opened this issue May 24, 2024 · 1 comment
Open

Comments

@smpiondev
Copy link

I use window.advChannels = "{{adv_channels_adapter}}"; to distinguish advertising networks, but after building, window.advChannels = "{{adv_channels_adapter}}"; returns "undefined".
My code:
window.advChannels = "{{adv_channels_adapter}}";
console.log("Current ads chanel window.advChannels "+ window.advChannels);
Result: Current ads chanel window.advChannels undefined (IS,Unity,Mintegral)

I tried the below versions but no fix:
1.3.4 to 1.3.9
Cocos Creator: 3.8.2

@ppgee
Copy link
Owner

ppgee commented Jun 7, 2024

It's fixed. 1.3.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants