android - Amazon IAP - PurchaseObserver callbacks not called (except onSdkAvailable) -


I added my button to use the buttonclicker sample as the button framework above the Amazon Store. I am trying to make a list of inventory of storeforts and therefore purchased within the onItemDataResponse callback but it is never called with onGetUserIdResponse but SDK tester is logging successful item data response broadcasts and UserID Response Broadcasts and logging the content of Amazon.sdktester.json. Note that onSdk is available is being called .... Does anyone else have this experience? And if so, how did you get it? Any help or advice would be great thanks Chris

I had the same problem you described. (I was not getting a callback from the purchasing manager)

In my manifest form I:

   & Lt; / Intent-Filter & gt; & Lt; / Receiver & gt;   

Removing Android: exported = "wrong" attribute resolved the problem for me Originally I added Android: exported = "wrong" attribute because this removes the warning "The exported receiver does not need permission"

Now my manifest looks like this and app purchases can be properly tested using SDK tester:

  & lt; Receiver Android: name = "com.amazon.inapp.purchasing.ResponseReceiver" & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "com.amazon.inapp.purchasing.NOTIFY" Android: permission = "com.amazon.inapp.purchasing.Permission.NOTIFY" /> & Lt; / Intent-Filter & gt; & Lt; / Receiver & gt;    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -