I'd like to embed inapp purchases in my android applications. My friend also would like to implement the same feature in his applications. Is it possible to setup purchases from two different google accounts on the dedicated one ? To be more clear - it it possible to setup inapp purchases from my friend's applications (that's placed in his google acount) to my account ? The reason - my friend does not have merchant account on google play.
As what I have understood your question:
you want to place new application(your friend's application) in your account and also want to add your friend Google account(Testing account for the application) into Google play console.
My Answer:
Yes, it is possible for both cases.
1) you can add more then one application into your Google developer console. That means you can also add your friend application's signed apk file into your account by creating new application. And one more thing you have to add into console that is his Google account(Google id for testing application), you can simply add it from the settings tag.
2) you can also add more then one Google account(Google id for testing the application) for the single application by using commas. That means one application can be test by the two different accounts.
Let me know if I am not understood your question properly or may you want to explain something else.
Hope it will help you.
Related
Me and 2 other friends have made an app, and we'd like to publish it on the Play store. However, I can't find anything relating to how I can give them credit too if I were to publish it under my developer account. How can I ensure that they are both included as developers for the app?
Thanks in advance!
There are lots of different forms of credit, and so it will depend on the relationship between you and your friends.
If it is just moral credit, you could easily add a credits page in your app, or put information about them in the app description.
However, often these things come down to ownership. Conceptually the developer account an app is published under represents the entity (company / organization / person) who owns the app. If you want it to be reflected that you all own the app, I'd recommend:
create a new gmail address and a new developer account for things you do together called whatever you want to call the organization: eg "Me and My friends software".
then in the Google Play console add all of you as users with full permissions
That way it is very clear this app belongs to all of you. It also makes things easier if you want to found a legal company etc later.
Backstory
I'm trying to implement Android's inapp billing for subscriptions. Surprisingly, It's going relatively smoothly, but I've hit a wall. What I'm trying to do is have multiple possible logins (using Google's standard stuff, which all works for now.
Here's my issue:
So when I log in to my app, I get this familiar screen.
If I choose Account B, Account B logs in, I check the token and it's all working fine.Now, I want Account B to get a subscription.
Two things at this point, the amount on the subscription is wrong, but I'm taking that up with Google Play Services. The issue I'm concerned about is that it's talking about a Google Play Balance, and one that I know Account B doesn't have. So I click the drop down arrow, and lo and behold... it's trying to charge account A.
So my question is this.
In my flow (standard flow adapted from the Trvial Drive example in the SDK) where and how do I add code to make it use the account I just signed in instead of a different one?
I'm not seeing any points where I can pass a token or an ID, nothing that would help me. How does one do this?
** UPDATE 2017-05-26, 01:10 **
Google does not support choosing an account. Here's what I heard from their support team:
It is working as intended that you cannot choose from multiple Google
accounts upon purchasing an in-app item and you can only pay using the
account which installed the app.
Consider that an device has two accounts, account A and account B, and
account A has installed the app. When you are logged into the device as B,
you can still open the app but when you try to make a in-app item purchase,
the payment can only be completed by account A. (In the Play Store payment
window, account A is selected by default and there is no way to change it.)
So for now, we just have to have a single account. I have to rework my flow and explain to people that this just isn't the Google way.
I have prepared an application which has several features. To one feature of them, I want to add in app purchase option. Can anyone inform me the simplest way to implement this? As far I know it can't be tested using emulator. Then How can I test it after adding this option?
you can make a test account in your developer console under setting, upload the apk with in-app billing permissions but don't publish it.
Add in-app products in developer console.
Login with the same test account you have added in developer console as primary account to your android device.
then install the signed apk into your device
and you are ready for testing
you can also refer to android.developer for more details
http://developer.android.com/google/play/billing/billing_testing.html
At last, I have implemented in app purchase in my application with the help of bellow's website which contains brief but clear explanation of in app purchase with a simple example. Possibly this site will be helpful for the novice android programmers to learn how to implement in app purchase.
techotopia-In app purchase
I'm developing our first app that uses in app purchases, and need to test that it's working correctly.
Currently if I try to make a purchase on the "android.test.purchased" item, I get an error message back saying "invalidClient". I'm led to believe that this is because my account is not a test user.
I found this page:
http://developer.android.com/google/play/billing/billing_admin.html#billing-testing-setup
which tells me how to set up a test user. I could set up a new user account, but I only have the one Android device to hand, which means doing a factory reset to make this the primary account, and I'd rather avoid that if possible.
Alternatively, can I make my own personal account double up as a test user?
The link above says that test users have limitations, one of which is:
Test accounts can only be used to purchase items that are listed (and
published) in an application's product list.
That seems to imply that I could only use my account to buy things in my in-development apps, and not from other apps as normal.
So can I turn my own personal account into a test user, without any problems when using the account to purchase other apps as normal?
It won't affect your abilities to use the test account as a normal account for other apps on Google Play.
So simply you can use your own account as a test account. (Actually if your account is the publisher account, you don't need to add it as a test account.)
The limitations mentioned in the documentation is a comparison to the publisher account.
Unfortunately there's no way around it. If you just have one device you have to wipe the device and then first sign in with the email address that you want to use as a test account. Only then will you be able to test in-app billing. You can also download other items from the Google Play store. I've done this without any problems.
I'm an Android developer and I already have an Android market publisher account. There are a couple of apps in my account.
I have an idea to create a little Android development brand(company)
and publish those new apps in a new publisher account.
So I want to know that is it legal having two Android Market publisher
accounts for the same person. Will I get into any trouble?
Also will Google suspend me if I use push ad networks like Airpush and leadolt?
Thanks a lot.
I don't see a problem with an individual having multiple Android Market accounts. Each will need to be tied to a different Google ID (email address). They may also have to be tied to different Google Checkout merchant accounts, although I don't know that for sure.
You cannot publish the same app (as determined by the package name declared in the manifest) on two Android Market accounts. You can ask support to transfer an app from one account to another.
I have no idea about using other ad technologies. I suggest that you ask the Android Market people directly. See this page for support info.
I don't think google will block app if you use Third party Ad-Suppliers.
I have been using TapJoy Ad service for an year.