All files / appsflyer-react-native-plugin/PurchaseConnector/constants constants.ts

100% Statements 9/9
100% Branches 0/0
0% Functions 0/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 151x                           1x
class AppsFlyerConstants {
    // Adding method constants
    static readonly SUBSCRIPTION_VALIDATION_SUCCESS: string = 'subscriptionValidationSuccess';
    static readonly SUBSCRIPTION_VALIDATION_FAILURE: string = 'subscriptionValidationFailure';
    static readonly IN_APP_PURCHASE_VALIDATION_SUCCESS: string = 'inAppPurchaseValidationSuccess';
    static readonly IN_APP_PURCHASE_VALIDATION_FAILURE: string = 'inAppPurchaseValidationFailure';
    static readonly DID_RECEIVE_PURCHASE_REVENUE_VALIDATION_INFO: string =
      "onDidReceivePurchaseRevenueValidationInfo";
  
    // Adding key constants
    static readonly RESULT: string = "result";
    static readonly ERROR: string = "error";
  }
  
  export default AppsFlyerConstants;