代码之家  ›  专栏  ›  技术社区  ›  user2983041

未调用onBillingSetupFinished

  •  0
  • user2983041  · 技术社区  · 4 年前

     //...
    
     billingClient = BillingClient.newBuilder(this)
                    .setListener(purchaseUpdateListener)
                    .enablePendingPurchases()
                    .build();
    
           
            //billingClient != null
    
            billingClient.startConnection(new BillingClientStateListener() {
                @Override
                public void onBillingSetupFinished(BillingResult billingResult) {
    
                  //This is not called
    
    
                }
                @Override
                public void onBillingServiceDisconnected() {
    
                    //This is not called
                }
    
    
    
            });
    
      //...
    

    1 回复  |  直到 4 年前
        1
  •  0
  •   user2983041    4 年前