iOS Question Binary Rejected - Apps that exhibit bugs will be rejected

Discussion in 'iOS Questions' started by Pendrush, May 1, 2015.

  1. Pendrush

    Pendrush Well-Known Member Licensed User

    They don't provide any crash logs, just replayed with text. I don't have iPad Air 2 to test my app.


    Code:
    Sub cmdBuyPro_Click

        MyStore.RequestPayment(
    "proversion")
       
    End Sub


    Private Sub MyStore_PurchaseCompleted (Success As Boolean, Product As Purchase)
       
        
    'Log("Purchase completed")
       
        
    If Product.IsInitialized Then
            
    'Log("Product: " & Product.ProductIdentifier & ", date=" & DateTime.Time(Product.TransactionDate) & ", Transaction identifier=" & Product.TransactionIdentifier)
        End If
       
        
    Log("Success = " & Success)
       
        
    If Success = True Then   
            
    File.WriteString(File.DirDocuments, "buyapp.txt""1")   
            
    If AdView1.IsInitialized = True Then
                AdView1.Visible = 
    False
            
    End If
            lblApp.Text = 
    "PRO"
            lblApp.TextColor = 
    Colors.RGB(238238238)
        
    End If
       
    End Sub


    Private Sub cmdRestore_Click
       
        MyStore.RestoreTransactions
       
    End Sub

    Private Sub MyStore_TransactionsRestored (Success As Boolean)
       
        
    Log ("Restore: " & Success)
       
        
    If Success = True Then   
            Toast.ToastMessageShow(
    "Success"True)   
        
    End If
               
    End Sub
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Does your program somehow wait for the PurchaseCompleted event to be raised? Otherwise it is very strange that this method hangs the process.

    If you like you can send me your project by mail and I'll test it on iPad (not sure which version) that runs iOS 7.
     
  3. Pendrush

    Pendrush Well-Known Member Licensed User

    I have sent you email with project.
    I think problem is only on this particular device iPad Air 2 (64bit iOS) running iOS 8.3, but I'm not sure because they response is inconclusive.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice