Git Product home page Git Product logo

Comments (2)

pushandplay avatar pushandplay commented on June 19, 2024

@bau720123 you can improve translation here https://crowdin.net/project/apprate-cordovaphonegap-plugin or update a source code and make a pull request.

from cordova-plugin-apprate.

bau720123 avatar bau720123 commented on June 19, 2024

hi @pushandplay
you misunderstood what I mean
this is not businesss by translation
this is my code (for example android)

function checkAppRate(action, action2, action3)
{
AppRate.preferences.useLanguage = action
AppRate.preferences.displayAppName = action2;
AppRate.preferences.storeAppURL.android = 'market://details?id=' + action3;
AppRate.promptForRating(true);
}

<li onClick="checkAppRate('zh-TW','soft1','com.littlebau.phonegap');">botton1</li>
<li onClick="checkAppRate('zh-TW','soft2','com.facebook.katana');">botton2</li>

if you press botton1 first,it will show the 'sof1' displayAppName,and finally connect to the google play (com.littlebau.phonegap)
and...now
change press botton2,but it will still show the 'sof1' displayAppName (it should be 'soft2',because I set to 'soft2'),and finally connect to the google play (com.facebook.katana)

I just want to know,why "storeAppURL.android" can According to the parameters and then guided to the right position I want to go

but...displayAppName can't
[[it seem like same useLanguage's code that the displayAppName only set once time only]]

I must be know why first that I can make a pull request...

from cordova-plugin-apprate.

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.