matomo-mobile-2 icon indicating copy to clipboard operation
matomo-mobile-2 copied to clipboard

Matomo mobile app - only ask for rating on Google Play when the app is available

Open enual opened this issue 1 year ago • 5 comments

Customer installed the mobile app from our website, however he received a prompt to rate the app from Google.

enual avatar Sep 17 '23 23:09 enual

Keen to better understand the exact request here. Simply detecting the install source doesn't change the user experience.

Is the request to specifically NOT ask for a rating in the Google app store when the app has been installed from our website, or is there further requirements?

Stan-vw avatar Sep 18 '23 03:09 Stan-vw

This has actually nothing to do with Matomo itself, so I'll move this issue to the mobile app repo.

sgiehl avatar Sep 18 '23 10:09 sgiehl

Hey @enual,

thanks for opening this issue. I'm the customer in question :wave:

I'm using a Matomo instance on-premise and installed the app via the Matomo homepage, because I don't want to run Google services on my Fairphone with Android if I can avoid it.

I assume I'm in a minority here so I understood that the prompt to rate the app on Google Play Store can be safely ignored. They are a gatekeeper and I don't like it. However, Matomo isn't on F-Droid or other app stores either.

I reached out to the Matomo Mobile team via the address they provided and asked whether I could do something else to raise awareness on the solution.

So in my understanding you could derive two requirements:

  • Don't prompt to rate the app on Google Play Store if not installed from there
  • Optionally suggest other means to spread the word (blog? community engagement? meetups? Hashtag on Mastodon?)

Ryuno-Ki avatar Sep 18 '23 10:09 Ryuno-Ki

(There was an unsuccessful initiative to distribute Matomo Mobile 2 on F Droid in 2014 and it was decided unfeasible at that time based on how the code is built and its dependencies. That issue is open. Please follow and add updates to that issue at https://github.com/matomo-org/matomo-mobile-2/issues/5274)

atom-box avatar Sep 18 '23 12:09 atom-box

Thanks for this @Ryuno-Ki . I've updated the title and understood the issue. Possibly we can detect if the app store is available or not (need to check available APIs) and can adjust the app accordingly.

There should be the canOpenUrl method which we maybe need to check in https://github.com/matomo-org/matomo-mobile-2/blob/master/app/lib/Piwik/App/Rating.js#L238 before opening the URL

tsteur avatar Sep 18 '23 20:09 tsteur