2

현재 IAB v2를 v3으로 이전 중입니다.v2에서 구매하려고하는 특정 항목을 소유 한 경우 Google Play 대화 상자에 빨간색 글자 색으로 '이 항목을 이미 소유하고 있습니다'라고 표시됩니다. v3에서 오류 응답 5 (Item Already Owned)가 표시 될 수 있지만 Google Play 대화 상자는 화면에 표시되지 않습니다.Android 인앱 결제 v3, Google Play 대화 상자가 표시되지 않음

나는 최신 샘플 코드 IabHelper를 사용하고 있는데이 응답하지 0

 logDebug("Constructing buy intent for " + sku + ", item type: " + itemType); 
     Bundle buyIntentBundle = mService.getBuyIntent(3, mContext.getPackageName(), sku, itemType, extraData); 
     int response = getResponseCodeFromBundle(buyIntentBundle); 
     if (response != BILLING_RESPONSE_RESULT_OK) { 
      logError("Unable to buy item, Error response: " + getResponseDesc(response)); 
      flagEndAsync(); 
      result = new IabResult(response, "Unable to buy item"); 
      if (listener != null) 
       listener.onIabPurchaseFinished(result, null); 
      return; 
     } 

     PendingIntent pendingIntent = buyIntentBundle.getParcelable(RESPONSE_BUY_INTENT); 
     logDebug("Launching buy intent for " + sku + ". Request code: " + requestCode); 
     mRequestCode = requestCode; 
     mPurchaseListener = listener; 
     mPurchasingItemType = itemType; 
     act.startIntentSenderForResult(pendingIntent.getIntentSender(), requestCode, new Intent(), Integer.valueOf(0), Integer.valueOf(0), Integer.valueOf(0)); 

입니다 그것을 행동에 가능한 V2와 같은 경우 시작하지 의도로 돌아 오는 것 같아? 또는 내 응용 프로그램에서 "이미 소유하고있는"대화 상자를 생성해야합니까?

답변

0

v2와 동일한 동작이 가능합니까? 또는 내 응용 프로그램에서 "이미 소유하고있는"대화 상자를 생성해야합니까?

은 예,이 문제가보고 및 업데이트가 IAB V3 저장소는 당신이 언급 충돌이 환매 특약으로 고정되어 here. 볼 수있다.

참고 :

Bruno Oliveira에 의해 보도 된 바와 같이.

+1

귀하가 언급 한대로 이미 앱에 최신 코드를 넣었습니다. 충돌은 발생하지 않지만 Google Play 스토어 대화 상자가 표시되지 않습니다. 이미 아이템을 가지고 있다면 플레이 스토어가 시작되지 않습니까? – user2223820

관련 문제