Amazon IAP API'sının en son sürümünü Android 4+ uygulamasına entegre etmeye çalışıyorum. Uygulama test cihazım (Nexus 5 ve Kindle Fire) üzerine yüklendiğinde ve Amazon App Tester ile birlikte kullanıldığında her şey gayet iyi görünüyor. UES'ler sorunsuzca satın alınabilir.Amazon IAP SDK: Canlı Uygulama Testinde IAP'leri test ederken yanıt yok
Uygulamanın "Canlı Uygulama Sınaması" sürümünü Amazon deposuna yükledim ve test aygıtlarıma yüklediğimi biliyorum. Bu sürümleri çalıştırmak IAP'ler mümkün değildir.
D/PTLog (14109): IAPManager - init - using Amazon
D/d (14109): In App Purchasing SDK - Sandbox Mode: PurchasingListener registered: [email protected]
D/d (14109): In App Purchasing SDK - Sandbox Mode: PurchasingListener Context: xyz
D/c (14109): In App Purchasing SDK - Sandbox Mode: sendPurchaseUpdatesRequest/sendGetUserData first:GET_USER_ID_FOR_PURCHASE_UPDATES_PREFIX:1:fca787d5-4b9d-42e4-840f-ff28f3d13ac4
W/ContextImpl(14109): Implicit intents with startService are not safe: Intent { act=com.amazon.testclient.iap.appUserId flg=0x10000000 (has extras) } android.content.ContextWrapper.startService:494 com.amazon.device.iap.internal.a.c.a:87 com.amazon.device.iap.internal.a.c.a:150
D/c (14109): In App Purchasing SDK - Sandbox Mode: sendItemDataRequest
W/ContextImpl(14109): Implicit intents with startService are not safe: Intent { act=com.amazon.testclient.iap.itemData flg=0x10000000 (has extras) } android.content.ContextWrapper.startService:494 com.amazon.device.iap.internal.a.c.a:137 com.amazon.device.iap.internal.d.a:103
D/c (14109): In App Purchasing SDK - Sandbox Mode: handleResponse
I/c (14109): sendGetPurchaseUpdates with user idl3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=
I/c (14109): send PurchaseUpdates with user id:l3HL7XppEMhrOGDnur9-ulvqomrSg6qyODKmah76lJU=;reset flag:true, local cursor:null, parsed from old requestId:GET_USER_ID_FOR_PURCHASE_UPDATES_PREFIX:1:fca787d5-4b9d-42e4-840f-ff28f3d13ac4
W/ContextImpl(14109): Implicit intents with startService are not safe: Intent { act=com.amazon.testclient.iap.purchaseUpdates flg=0x10000000 (has extras) } android.content.ContextWrapper.startService:494 com.amazon.device.iap.internal.a.c.a:421 com.amazon.device.iap.internal.a.c.e:388
D/c (14109): In App Purchasing SDK - Sandbox Mode: handleResponse
Eğer Satınalma SDK gayet başlatıldığını görüldüğü gibi:
Bu
App Tester ile sideloaded sürümünü kullanarak ölçüm değeridir. Canlı Uygulama Testi sürümünü kullanırken Şimdi, günlük gösterir:D/PTLog (18032): IAPManager - init - using Amazon
D/Kiwi (18032): In App Purchasing SDK - Production Mode: d: PurchasingListener registered: [email protected]
D/Kiwi (18032): In App Purchasing SDK - Production Mode: d: PurchasingListener Context: [email protected]
D/Kiwi (18032): In App Purchasing SDK - Production Mode: a: sendGetPurchaseUpdates
D/Kiwi (18032): Kiwi: WARNING: Use of deprecated method detected.
E/Kiwi (18032): Kiwi: Kiwi subsystem is not fully initialized. Cannot process task.
D/Kiwi (18032): In App Purchasing SDK - Production Mode: a: sendGetProductDataRequest
D/Kiwi (18032): Kiwi: WARNING: Use of deprecated method detected.
E/Kiwi (18032): Kiwi: Kiwi subsystem is not fully initialized. Cannot process task.
Eğer Satınalma SDK ile ilgili bir sorun var gibi görünüyor görebileceğiniz gibi:
"Kiwi: WARNING: Use of deprecated method detected."
O eğer fark etmez Canlı Uygulama Testi sürümü, Kindle veya Nexus'ta Amazon Store uygulamasının en son sürümüyle kullanılır. Sonuç tam olarak aynı: UES'ler mümkün değil.
Bu bilinen bir sorun mu? Bu nasıl çözülebilir?
size Sonunda benim soruda açıklandığı sorunlara bir çözüm buldum
buradan daha hızlı yardım alabilir, http://forums.developer.amazon.com/forums/index.jspa – petey
Şimdiye kadar bunu denedim ama şu ana kadar herhangi bir cevap almadım. Aslında Amazon forumu yardım almak için iyi bir yer değil gibi görünüyor. Ayrıca, herhangi bir geri bildirim olmadan da doğrudan Amazon ile iletişime geçtim. –
Altho, forum gönderilerinin çoğu zaman "bize ulaşın" ile sonuçlandığında, olumlu deneyimlerim oldu. Tekrar denemeye değer olabilir. – petey