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

Different author for ios and android #112

Open
Roman9961 opened this issue Oct 17, 2018 · 1 comment
Open

Different author for ios and android #112

Roman9961 opened this issue Oct 17, 2018 · 1 comment

Comments

@Roman9961
Copy link

Roman9961 commented Oct 17, 2018

Hey! Help me please! Is there way to set different authors for ios and android?

@muaddeepcode
Copy link

muaddeepcode commented Jan 7, 2019

  1. Add a new option to banner initialization:

new SmartBanner({ daysHidden: 15, ... author: 'We don't need it now',authorStore: { ios: 'iOS App Author', android: 'Android App Author', windows: 'Windows App Author' },

  1. Change smart-app-banner.js:
    <div>"+this.options.author+"</div>
    to ===>
    <div>"+this.options.authorStore[this.type]+"</div>

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