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 I had the same problem you described. (I was not getting a callback from the purchasing manager) In my manifest form I: 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: 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
& 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
Post a Comment