ain / smartbanner.js

Customisable smart app banners for iOS and Android
https://npmjs.com/package/smartbanner.js
GNU General Public License v3.0
611 stars 178 forks source link

Value for enabled-platforms #724

Closed Vitaliy-Opaynitch closed 6 months ago

Vitaliy-Opaynitch commented 7 months ago

Steps to reproduce:

  1. Install smartbanner.js
  2. Added tag 'smartbanner:enabled-platforms', content: 'none'

What happens: I don`t see the banner

What should happen: Can we use another value for this tag or just 'none'

I want use some conditions for show/hide banner on my platform

For example if I have isMobileApp === true => hide banner

ain commented 6 months ago

enabled-platforms is documented within Basic usage the default value of which is android,ios meaning that the smartbanner.js will work on both Android and iOS platforms.