BillingClient: getSkuDetails() failed. Response code: 6 - java

I've integrated Google inApp billing in my android App. It was working fine, But now I noticed that on one device its always returning BILLING_RESPONSE_RESULT_ERROR response. In Logcat it shows following error.
BillingClient: getSkuDetails() failed. Response code: 6
I couldn't find any help regarding this issue, Can someone help me what could be the possible problems and solution. Thanks.

This generally happens when you have signed out from Google account in your device. All you need to do is just sign in again, if needed do a full restart.

Well, my situation is the connection between my device and google's servers is unstable.Try to open the GooglePlay,and check if the connection is healthy.And it wroks.

In my case, this happened when a new app I submitted was in "Draft" status, not yet approved by Google. Just wait until it's approved and payments will start to work.
An alternative would be to submit it in the internal track and add the email for you play account as a test user.

Related

how to use Frida-Gadget to MITM in android

Hi i like to track all the get requests of a website i browse.
lets assume im using an app in that app there is a WebView that leads to a website.
the website is doing get requests.
the website has SSL pinning.
i like to know what are those get requests that the website is doing.
During a google research I found that Frida help me bypass the SSL pinning However, Frida must be used on Rooted devices. I need for not rooted devices.
It comes to my attention that Frida-Gadget can do that for me.
is there any explicit guide to do so?
my goal is simple to go to a SSL website using my phone and track all the "get" request that the website is doing.
Thank you !

I have some problems using my app for the second time

I have developed an app using Android Studio, which include login and register activities. when I copied my code to my new computer I have launched the app for the first time and it worked just fine. The day after, when I was trying again to launch the app once again. I wasn't able to sign-in to an existing user. I even could not create a new one. Does someone have any idea what caused it' and how could it be fixed?
Your question has no details at all..
Do you store the user credentials on a db?(it could be that you cannot login because you didn't connect correctly to the db) which type of db? is a Web service to an admin panel or some code posted on a hosting/vps?
Find out which is the error inside the logcat and post ONLY the error, maybe the stacktrace can help you.
So you can launch the app but the data inside is missing(credentials).. Do you see everything as usual or are there any images/details missing?
Stupid but easy to forget: do you have an active internet connection on the emulator?
have you tried to debug the code, have to tried to debug at least the authentication/register process?
Add more details, check your manifest is ok and you have all the permissions(internet, wifi or anything else), post the logcat error(if there is an error) or post the debug error, then someone can answer

twilio click to call Java Servlet - not working

I have tried to setup twilio click to call java Servlet example by following the below url.
https://www.twilio.com/docs/tutorials/walkthrough/click-to-call/java/servlets
However, when I am providing the phone number to call (it's an India number starts with +91), no call is coming to that mobile.
The number which I am calling has been verified in twilio account. It can receive twilio sms.
No error is coming back from twilio. But still I am not getting any call. I have verified by providing another phone number (of another service provider) ...but same result.
twilio console shows the call has happened for 15 seconds..in each case. But in none of the case I have got any ring in my phone.
I am am not also getting any call in the callback url (/connect ) from twilio which I am supposed to get after the call is connected...that is twilio is supposed to call back my url.
I have also provided a permission in the following place to for voice call in India.
https://www.twilio.com/console/voice/settings/geo-permissions
Thanks in advance
SR
Kevin from Twilio here.
It sounds like there may be something here worth investigating with support. If you could, please send an e-mail to help#twilio.com with this description. If you also provide your Account SID and if possible a call SID for the calls you are debugging in the console, that should help debug the issue more quickly.
Thanks, and sorry you're having troubles.

Facebook Sharing Fails on Non Admin Devices

I have and android app in which i want to Post image and message to faceboook. I Have completed all Steps including facebook key from console hash key from program and save to facebook console. So when i run App it is posting image and message successfully only from my device in which same facebook account is used. But When i try from any other device it is not posting data to facebook and it gives me error "publish permission [publish action] not accepted by user". i got stuck at this point. please help me. what should i do. I read some articles and got idea that facebook change its policy and app should send to review. but i have not idea what and how necessary credentials required to facebook. please help me i have to complete my app as soon as possible. i am already getting late. i am searching from 2 weeks but at last decided to post question here. please help me. thanks in advance.

Java Mail being blocked by gmail in some cases

I have a running and working implementation of the Java Mail API. I am using the api to send out bulk email messages. On some occasions, the login gets blocked by google. So, I go to my gmail account and allow access to apps and set the security level to give access to apps that don't use what google calls "modern security". So, the google page tells me to try my program again. I try it again and it still won't let me log in. On some occasions when I have a login fail, I can go to the account, log in, and type in the recaptcha. This will allow me to log back in shortly after and send emails. However, the problem I am now experiencing does not show any recaptcha, nor does it say anything about any unknown apps that tried to access the account. It says nothing, and just wont let me log in to my account. I created two new accounts for testing and they worked fine. The account that I created that doesn't work only allowed me to send 17 emails before it blocked my service. Does anyone have any suggestions? Thanks!
Go to your Gmail account setting page and Enable access of Less secure apps. Then try with Java Mail API. Hope it works for you.
Make sure that your JavaMail with google auth is working fine, Check concurrently with Different app. If not post your code
If you're using a free Gmail account, Google might think your bulk email is spam (duh). If you're going to send bulk email, it may be time to pay someone for a business account that will let you do that.

Categories

Resources