ain / smartbanner.js

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

Value for enabled-platforms #724

Closed Vitaliy-Opaynitch closed 7 months ago

Vitaliy-Opaynitch commented 8 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 7 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.