Git Product home page Git Product logo

Comments (3)

laf1greg avatar laf1greg commented on July 19, 2024

Same problem, (I only try with intern Test in play store though). Did you find a fix ?

Finally after reading all the doc :) it finally is working with InAppReview

from cordova-plugin-apprate.

thomashrabe avatar thomashrabe commented on July 19, 2024

No, I wrote my own plugin, currently working on getting Android up. iOS works well. Very bare bone implementation.
https://github.com/thomashrabe/AppRate
I did not bother to get the plugin conflicts resolved over time...

from cordova-plugin-apprate.

chidav77 avatar chidav77 commented on July 19, 2024

Hi, I'm facing the same issue.... tried to use your code here:


const appRatePreferences: AppRatePreferences = {
        displayAppName: 'XYZ',
        simpleMode: true,
        usesUntilPrompt: 1,
        reviewType: {android:AppRateReviewTypeAndroid.InAppReview},
        storeAppURL: {

          android: 'market://details?id=my.package.name'
        },
        customLocale: {
          title: 'Would you mind rating XYZ?',
          message: 'If you like XYZ, please help us spread the word!',
          cancelButtonLabel: 'No, Thanks',
          laterButtonLabel: 'Remind Me Later',
          rateButtonLabel: 'Rate It Now',
          yesButtonLabel: 'Yes!',
          noButtonLabel: 'Nah',
          appRatePromptTitle: 'Do you like using XYZ',
          feedbackPromptTitle: 'If you like XYZ, please help us spread the word!',
        }
      };
      this.appRate.setPreferences(appRatePreferences);

but I always get this error:

ultima-estrazione:9842 Uncaught TypeError: Cannot read properties of undefined (reading 'open')
    at Object.openUrl (ultima-estrazione:9842:28)
    at AppRate.navigateToAppStore (ultima-estrazione:10090:21)
    at promptForStoreRatingWindowButtonClickHandler (ultima-estrazione:9883:17)
    at Object.callbackFromNative (ultima-estrazione:1608:52)
    at <anonymous>:1:9

when the plugin try to open the url or nothing happens if I set InAppReview

I read that @laf1greg make it works...
Could you help/share some code?
Thanks

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.