wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.97k stars 1.32k forks source link

SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users #20344

Closed sentry-io[bot] closed 7 months ago

sentry-io[bot] commented 7 months ago

Sentry Issue: WORDPRESS-ANDROID-2V2M

SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
    at org.wordpress.android.util.analytics.service.InstallationReferrerServiceLogic$1.onInstallReferrerSetupFinished(InstallationReferrerServiceLogic.java:68)
...
(12 additional frame(s) were not displayed)
dangermattic commented 7 months ago

Thanks for reporting! 👍

thomashorta commented 7 months ago

This user downloaded the app from some third-party app store in their Huawei Nova Y70 phone which, based on some quick research, does not contain the Google Play Store nor Google Services.

We don't support this scenario and some things might break, such as what the user is experiencing here with the InstallReferrerClient API that we use that requires Google Services.

There's not much we can do here since we do not officially support apps installed from third-party stores and we rely on Google services for some app functionalities, so this issue is not actionable to us now unless we decide to support other App Stores and make changes to not depend on Google services.