I want to get a name / ID of the user making a purchase. I would like to do without AccountManager if possible, as its use requires an extra permission. Even with AccountManager I don't see a way to determine the current account, so any advice is welcome.
In-app purchase: get the name or ID of the Google Play account that's requesting a purchase
5.5k views Asked by Violet Giraffe At
2
There are 2 answers
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in GOOGLE-PLAY
- how to Delete app bundle from play store in 2024?
- Как подтвердить свой адрес в Google Play Console в Беларуси?
- Flutter app ANR bad behavior in Play Store
- App is not visible after after full rollout on google play store
- Google Play Scraper reviews_all is inconsistent
- App removed from google play store because of MANAGE_EXTERNAL_STORAGE
- React Native Expo published app not displaying logo properly
- Android Managed Google Play Console
- Debugging MAUI issues from android playstore Crash details stacks
- Play Billing Library prevents uploading my App
- Doesn't work closed testing links for Play Console
- ou have imported an APK or an app bundle signed with a certificate that is not yet valid You must sign either with a valid certificate
- I couldn't verify my identity in Google Play console even though I used my passport and ID card
- "High Risk Behavior" mark on Google Play
- Google Warning: There is no deobfuscation file associated with this App Bundle
Related Questions in IN-APP-BILLING
- Missing StoreKit APIs in in-app purchases
- Android - change duration of In App purchases
- In-App Purchase Subscription Offer Code Not Working Android
- Google Billing plan change during grace/hold
- Android server notification implementation in app purchase
- queryPurchasesAsync return empty when subscriptions expired
- Android, In-app-billing v6. Multiple consumable items in a single checkout
- Migrate from the legacy 2 app model (free app + paid "unlocker" app) to in-app payment / billing library?
- How to use test cards for Google Play Billing for an Espresso test?
- In App billing not fetching the purchases using queryPurchasesAsync
- How to get rid of Introductory Offer with Free Trial when user already used this offer?
- java.lang.ClassCastException: LinkedTreeMap cannot be cast to ProductDetails$OneTimePurchaseOfferDetails
- Request replacement DEFERED mode is not working for Google Play billing Upgrade/Downgrade
- lateinit property productDetails has not been initialized
- PurchaseUpdateListner returning Null List of purchase
Related Questions in ANDROID-BILLING
- How to get data from play biling api
- We are detected that one or more of the app bundles included in this release are using the following Play Billing Library AIDL
- Google Play Store Billing problem in case of 'Two Android Apps in One Firebase Container'
- Google Billing plan change during grace/hold
- queryPurchasesAsync return empty when subscriptions expired
- Change Paid Android App to Subscription Model but keep it free for past users
- Regarding to the developer determined criteria in play store subscription
- How can we persist ProductDetails in Google Play Billing Library 5 and 6 to disk?
- Google Play - How to add yearly subscription plan to exsiting monthly subscription plan
- Google Play Billing PurchasesUpdatedListener returning SERVICE_DISCONNECTED
- Google billing trial subscription error "Your transaction can't be completed"
- What is the renew behavior on deactivated base plan in Android app auto-renew subscription?
- Android store test subscription cancellation
- Android Studio Java - In app purchase bugs/issue
- Android Billing. How to purchase multiple quantity of multiple items?
Related Questions in ANDROID-ACCOUNT
- How to get all available accounts (including multi-SIM cards) that a contact can be saved on?
- How to modify a file on the google drive from multiple android devices?
- Caused by java.lang.SecurityException: uid ... cannot explicitly add accounts of type: ... Android P and Android 10
- Android multi-user: get current user info
- Enable auto sync programmatically
- Android Accounts
- PWA authentication using Android account
- Adding custom rows to contact details, only works with one contact
- Get accounts configured count in android device
- Where/how to store sensitive information?
- Edit Call history names
- AccountManager.newChooseAccountIntent without asking to create account
- Not able to find android.provider.CONTACTS_STRUCTURE metadata of contact apps
- (AccountManager) context.getSystemService(Context.ACCOUNT_SERVICE) vs Accountmanager.get(context)
- AccountManager: when to set result?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I don't think that's even possible. I tried all possible ways before contacting Google support. And the reply I got was this:
In the query, we had clarified that it is for post-sales support.
Hope this helps.