InApp Billing same account multiple devices

by keianhzo » Mon, 16 May 2011 19:19:16 GMT


Sponsored Links
 Hi,

We are testing InApp billing to include in one of our apps to buy the
ads removal. At the moment the main issue we have is that if you have
two devices with the same account and the app installed you are
supposed to get all the InApp billing notifications in both the
devices but is not working that way for me. It sometimes sends
notifications to both devices and sometimes just to one of them. This
is problematic because as stated in the sample code and in some InApp
billing issues, you are only supposed to restore the transactions when
the app is first started, but you can't rely in the InApp billing
notification system because sometimes notifications fail, so you end
up with inconsistencies with the purchased items in devices using the
same google account.
Is this a known issue?, anyone experiencing similar problems?. Any
solution?.

Thanks.

-- 



Re: InApp Billing same account multiple devices

by keianhzo » Thu, 19 May 2011 17:56:04 GMT


 Anyone on this?. I think is quite an important subject. The billing
system is failing in such a basic thing as sending notifications.
Maybe I should place an issue in the marketbilling issues list.




-- 


Sponsored Links


Re: Re: InApp Billing same account multiple devices

by Kostya Vasilyev » Thu, 19 May 2011 18:14:42 GMT


 There is already an open issue for lost notifications:

 http://code.google.com/p/marketbilling/issues/detail?id=14 

however, it does not specifically concern multi-device setup.

I've provided a list of order numbers for this issue, and got logs from 
the Market team showing that the notifications for those orders were 
received and confirmed by my application within seconds (the users never 
saw the confirmation, hence the list).


I don't see how my code could confirm a purchase and not activate it for 
the user, the Market team obviously trusts their logs, and that's where 
it is at for me now.


If you have specific order numbers, you can post them in the bug report.

-- Kostya

19.05.2011 13:55, keianhzo :
Anyone on this?. I think is quite an important subject. The billing system is failing in such a basic thing as sending notifications. Maybe I should place an issue in the marketbilling issues list.
Hi, We are testingInAppbilling to include in one of our apps to buy the ads removal. At the moment the main issue we have is that if you have two devices with the same account and the app installed you are supposed to get all theInAppbilling notifications in both the devices but is not working that way for me. It sometimes sends notifications to both devices and sometimes just to one of them. This is problematic because as stated in the sample code and in someInApp billing issues, you are only supposed to restore the transactions when the app is first started, but you can't rely in theInAppbilling notification system because sometimes notifications fail, so you end up with inconsistencies with the purchased items in devices using the same google account. Is this a known issue?, anyone experiencing similar problems?. Any solution?. Thanks.
-- Kostya Vasilyev -- http://kmansoft.wordpress.com --



Other Threads

1. Demo Applications

Hi,

I am an idea for an App in which there is a view like facebook's wall.
i.e.
Profile picture, then username and then the wallPost contents.
Profile picture, then username and then the wallPost contents.
 -- This is repeated many times.

I know how to create listViews with space for the picture, username
and wallPost contents. But I dont know how to load the picture from
facebook even though I have the profile ID.
Is there any example whose code I can look and learn?

Are there any open source Android Apps which integrate with Facebook?

Which is the best place to look for these examples?

Thanks a lot.

-- 

2. Issue with Test class SingleLaunchActivityTestCase

Hi,

We're developping a test activity using SingleLaunchActivityTestCase<>
and JUnit on Android 2.3.3

We face the following issue :

In JUnit view in eclipse we have the following function call order :

testActivityTestCaseSetUpProperly() <- this one is built in android.
testA()
testB()
testC()

Each test use sendKeys() or TouchUtils.clickView().

On testC() sometimes we get this error :
W/InputDispatcher(  112): Permission denied: injecting event from pid
3753 uid 10001 to window with input channel 406a0b70
com.android.launcher/com.android.launcher2.Launcher (server) owned by
uid 10022

??? Launcher (desktop) get Events ??? We do nothing for that


So I put a Thread.sleep(5000) in testC() at the beginning.

I launch the test again :

testActivityTestCaseSetUpProperly() : Ok
testA() : Ok
testB() : Ok
Here application is put in background (for no reason we do not call
activity.finish() and co.)
testC() is launched but desktop is display. The test failed as we
cannot inject events to desktop.

The workaround for this is to create a dummy testZZZZ() function in
that way, testC() is executed before activity get closed.

testActivityTestCaseSetUpProperly() : Ok
testA() : Ok
testB() : Ok
testC() : Ok
testZZZZ() : don't care of result.

NOTE : sometimes the function order change :

testA()
testB()
testC()
testActivityTestCaseSetUpProperly()

In that way, the issue is not visible.


Hope it helps.





-- 

3. Clear recent apps stack

4. Fwd: redirct the an alert or replay to the device that send sms

5. Use AndroidDebugBridge and ddmlib in my own desktop application

6. How to change AutoCompleteTextView dropdown background color ?

7. How to run insmod during boot-up?