GithubHelp home page GithubHelp logo

Comments (2)

wewewe718 avatar wewewe718 commented on May 26, 2024

Hello. I can add a button to 'About' section in Settings that will lead to the page of your add-on on the Firefox Add-on website. Please let me know if it will be fine with you.

from qrandbarcodescanner.

rugk avatar rugk commented on May 26, 2024

I'm very sorry cor the late reply, did keep it in my inbox here, but apparently forget it. Yeah, that sounds good… 🙂

I would ask you to use this link: https://addons.mozilla.org/firefox/addon/offline-qr-code-generator/?utm_source=app-com.example.barcodescanner&utm_medium=app-android&utm_content=about&&utm_campaign=partner-software
What would you use as a text there?

As for me, here you can see the settings for all my random tips shown in the add-on including the JsDoc documentation for the following properties. So I would probably like to use a configuration similar to this one (I describe my reasoning in comments):

    {
        id: "partnerAppAndroidBarcodescanner",
        requiredShowCount: 4,
        requireDismiss: 1, // the user needs to actively dismiss the message at least one time, so unless that is done it may be suggested randomly in-definitively
        maximumDismiss: 1, // or maybe "2", but I fear this could annoy users and be regarded as an add, I'm not sure…
        requiredTriggers: 15, // slightly later, however, of course only power-users will want to install/have an Android app suggested, so IMHO this is fine. Also you get to this very fast :)
        randomizeDisplay: 0.8, // slightly less often show it to not 
        text: "tipPartnerAppAndroidBarcodescanner",
        actionButton: {
            text: "tipTryThisOne",
            action: "tipPartnerAppAndroidBarcodescannerLink"
        },
        showTip: async () => {
            // if user is on Android, show it more likely as that may of course be especially for them
            if ((await isMobile())) {
                tipSpec.randomizeDisplay = false;
            }

            return null; // continue as normal
        }
    },

The text could be something like:

Need a QR code scanner for Android? [Try this one]

(Due to size constraints, it needs to be kept short for me 🙂 )

So, as for your link, which one should I choose?

from qrandbarcodescanner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.