react-native-purchases 5.0.0-beta.4 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,6 +24,6 @@ Pod::Spec.new do |spec|
24
24
  ]
25
25
 
26
26
  spec.dependency "React-Core"
27
- spec.dependency "PurchasesHybridCommon", '4.1.0'
27
+ spec.dependency "PurchasesHybridCommon", '4.1.4'
28
28
  spec.swift_version = '5.0'
29
29
  end
@@ -29,7 +29,7 @@ android {
29
29
  minSdkVersion getExtOrIntegerDefault('minSdkVersion')
30
30
  targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
31
31
  versionCode 1
32
- versionName '5.0.0-beta.4'
32
+ versionName '5.0.0'
33
33
  }
34
34
 
35
35
  buildTypes {
@@ -121,6 +121,6 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
121
121
  dependencies {
122
122
  //noinspection GradleDynamicVersion
123
123
  api 'com.facebook.react:react-native:+'
124
- implementation 'com.revenuecat.purchases:purchases-hybrid-common:4.1.0'
124
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common:4.1.4'
125
125
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
126
126
  }
@@ -144,13 +144,13 @@ export interface CustomerInfo {
144
144
  */
145
145
  export interface PurchasesStoreTransaction {
146
146
  /**
147
- * RevenueCat Id associated to the transaction.
147
+ * Id of the transaction.
148
148
  */
149
- revenueCatId: string;
149
+ transactionIdentifier: string;
150
150
  /**
151
151
  * Product Id associated with the transaction.
152
152
  */
153
- productId: string;
153
+ productIdentifier: string;
154
154
  /**
155
155
  * Purchase date of the transaction in ISO 8601 format.
156
156
  */
@@ -134,20 +134,20 @@ export default class Purchases {
134
134
  * we will treat it as a restore and alias the new ID with the previous id.
135
135
  * @param {boolean} allowSharing Set this to true if you are passing in an appUserID but it is anonymous,
136
136
  * this is true by default if you didn't pass an appUserID
137
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet.
137
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
138
138
  */
139
139
  static setAllowSharingStoreAccount(allowSharing: boolean): Promise<void>;
140
140
  /**
141
141
  * @param {boolean} finishTransactions Set finishTransactions to false if you aren't using Purchases SDK to
142
142
  * make the purchase
143
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet.
143
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
144
144
  */
145
145
  static setFinishTransactions(finishTransactions: boolean): Promise<void>;
146
146
  /**
147
147
  * iOS only.
148
148
  * @param {boolean} simulatesAskToBuyInSandbox Set this property to true *only* when testing the ask-to-buy / SCA
149
149
  * purchases flow. More information: http://errors.rev.cat/ask-to-buy
150
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet.
150
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
151
151
  */
152
152
  static setSimulatesAskToBuyInSandbox(simulatesAskToBuyInSandbox: boolean): Promise<void>;
153
153
  /**
@@ -180,7 +180,7 @@ export default class Purchases {
180
180
  static removeShouldPurchasePromoProductListener(listenerToRemove: ShouldPurchasePromoProductListener): boolean;
181
181
  /**
182
182
  * Gets the map of entitlements -> offerings -> products
183
- * @returns {Promise<PurchasesOfferings>} Promise of entitlements structure. The promise will be rejected if setup
183
+ * @returns {Promise<PurchasesOfferings>} Promise of entitlements structure. The promise will be rejected if configure
184
184
  * has not been called yet.
185
185
  */
186
186
  static getOfferings(): Promise<PurchasesOfferings>;
@@ -191,7 +191,7 @@ export default class Purchases {
191
191
  * @returns {Promise<PurchasesStoreProduct[]>} A promise containing an array of products. The promise will be rejected
192
192
  * if the products are not properly configured in RevenueCat or if there is another error retrieving them.
193
193
  * Rejections return an error code, and a userInfo object with more information. The promise will also be rejected
194
- * if setup has not been called yet.
194
+ * if configure has not been called yet.
195
195
  */
196
196
  static getProducts(productIdentifiers: string[], type?: PURCHASE_TYPE): Promise<PurchasesStoreProduct[]>;
197
197
  /**
@@ -204,7 +204,7 @@ export default class Purchases {
204
204
  * @returns {Promise<{ productIdentifier: string, customerInfo:CustomerInfo }>} A promise of an object containing
205
205
  * a customer info object and a product identifier. Rejections return an error code,
206
206
  * a boolean indicating if the user cancelled the purchase, and an object with more information. The promise will
207
- * also be rejected if setup has not been called yet.
207
+ * also be rejected if configure has not been called yet.
208
208
  */
209
209
  static purchaseProduct(productIdentifier: string, upgradeInfo?: UpgradeInfo | null, type?: PURCHASE_TYPE): Promise<MakePurchaseResult>;
210
210
  /**
@@ -215,7 +215,7 @@ export default class Purchases {
215
215
  * @returns {Promise<{ productIdentifier: string, customerInfo:CustomerInfo }>} A promise of an object containing
216
216
  * a customer info object and a product identifier. Rejections return an error code,
217
217
  * a boolean indicating if the user cancelled the purchase, and an object with more information. The promise will be
218
- * rejected if setup has not been called yet.
218
+ * rejected if configure has not been called yet.
219
219
  */
220
220
  static purchaseDiscountedProduct(product: PurchasesStoreProduct, discount: PurchasesPromotionalOffer): Promise<MakePurchaseResult>;
221
221
  /**
@@ -226,7 +226,7 @@ export default class Purchases {
226
226
  * and the optional prorationMode.
227
227
  * @returns {Promise<{ productIdentifier: string, customerInfo: CustomerInfo }>} A promise of an object containing
228
228
  * a customer info object and a product identifier. Rejections return an error code, a boolean indicating if the
229
- * user cancelled the purchase, and an object with more information. The promise will be also be rejected if setup
229
+ * user cancelled the purchase, and an object with more information. The promise will be also be rejected if configure
230
230
  * has not been called yet.
231
231
  */
232
232
  static purchasePackage(aPackage: PurchasesPackage, upgradeInfo?: UpgradeInfo | null): Promise<MakePurchaseResult>;
@@ -237,14 +237,14 @@ export default class Purchases {
237
237
  * @param {PurchasesPromotionalOffer} discount Discount to apply to this package. Retrieve this discount using getPromotionalOffer.
238
238
  * @returns {Promise<{ productIdentifier: string, customerInfo: CustomerInfo }>} A promise of an object containing
239
239
  * a customer info object and a product identifier. Rejections return an error code, a boolean indicating if the
240
- * user cancelled the purchase, and an object with more information. The promise will be also be rejected if setup
240
+ * user cancelled the purchase, and an object with more information. The promise will be also be rejected if configure
241
241
  * has not been called yet.
242
242
  */
243
243
  static purchaseDiscountedPackage(aPackage: PurchasesPackage, discount: PurchasesPromotionalOffer): Promise<MakePurchaseResult>;
244
244
  /**
245
245
  * Restores a user's previous purchases and links their appUserIDs to any user's also using those purchases.
246
246
  * @returns {Promise<CustomerInfo>} A promise of a customer info object. Rejections return an error code, and an
247
- * userInfo object with more information. The promise will be also be rejected if setup has not been called yet.
247
+ * userInfo object with more information. The promise will be also be rejected if configure has not been called yet.
248
248
  */
249
249
  static restorePurchases(): Promise<CustomerInfo>;
250
250
  /**
@@ -258,13 +258,13 @@ export default class Purchases {
258
258
  * @param {String} appUserID The appUserID that should be linked to the currently user
259
259
  * @returns {Promise<LogInResult>} A promise of an object that contains the customerInfo after logging in, as well
260
260
  * as a boolean indicating whether the user has just been created for the first time in the RevenueCat backend. The
261
- * promise will be rejected if setup has not been called yet or if there's an issue logging in.
261
+ * promise will be rejected if configure has not been called yet or if there's an issue logging in.
262
262
  */
263
263
  static logIn(appUserID: string): Promise<LogInResult>;
264
264
  /**
265
265
  * Logs out the Purchases client clearing the saved appUserID. This will generate a random user id and save it in the cache.
266
266
  * @returns {Promise<CustomerInfo>} A promise of a customer info object. Rejections return an error code,
267
- * and a userInfo object with more information. The promise will be rejected if setup has not been called yet or if
267
+ * and a userInfo object with more information. The promise will be rejected if configure has not been called yet or if
268
268
  * there's an issue logging out.
269
269
  */
270
270
  static logOut(): Promise<CustomerInfo>;
@@ -276,7 +276,7 @@ export default class Purchases {
276
276
  /**
277
277
  * Gets current customer info
278
278
  * @returns {Promise<CustomerInfo>} A promise of a customer info object. Rejections return an error code, and an
279
- * userInfo object with more information. The promise will be rejected if setup has not been called yet or if
279
+ * userInfo object with more information. The promise will be rejected if configure has not been called yet or if
280
280
  * there's an issue getting the customer information.
281
281
  */
282
282
  static getCustomerInfo(): Promise<CustomerInfo>;
@@ -285,7 +285,7 @@ export default class Purchases {
285
285
  * for subscriptions anytime a sync is needed, like after a successful purchase.
286
286
  *
287
287
  * @warning This function should only be called if you're not calling purchaseProduct/purchasePackage.
288
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
288
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
289
289
  * syncing purchases.
290
290
  */
291
291
  static syncPurchases(): Promise<void>;
@@ -293,17 +293,17 @@ export default class Purchases {
293
293
  * @deprecated, use enableAdServicesAttributionTokenCollection instead.
294
294
  * Enable automatic collection of Apple Search Ad attribution. Disabled by default
295
295
  * @param {boolean} enabled Enable or not automatic apple search ads attribution collection
296
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet.
296
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
297
297
  */
298
298
  static setAutomaticAppleSearchAdsAttributionCollection(enabled: boolean): Promise<void>;
299
299
  /**
300
300
  * Enable automatic collection of Apple Search Ad attribution on iOS. Disabled by default
301
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet.
301
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
302
302
  */
303
303
  static enableAdServicesAttributionTokenCollection(): Promise<void>;
304
304
  /**
305
305
  * @returns { Promise<boolean> } If the `appUserID` has been generated by RevenueCat or not.
306
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet.
306
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet.
307
307
  */
308
308
  static isAnonymous(): Promise<boolean>;
309
309
  /**
@@ -319,7 +319,7 @@ export default class Purchases {
319
319
  *
320
320
  * @param productIdentifiers Array of product identifiers for which you want to compute eligibility
321
321
  * @returns { Promise<[productId: string]: IntroEligibility> } A map of IntroEligility per productId. The promise
322
- * will be rejected if setup has not been called yet or if there's in an error checking eligibility.
322
+ * will be rejected if configure has not been called yet or if there's in an error checking eligibility.
323
323
  */
324
324
  static checkTrialOrIntroductoryPriceEligibility(productIdentifiers: string[]): Promise<{
325
325
  [productId: string]: IntroEligibility;
@@ -327,10 +327,10 @@ export default class Purchases {
327
327
  /**
328
328
  * iOS only. Use this function to retrieve the `PurchasesPromotionalOffer` for a given `PurchasesPackage`.
329
329
  *
330
- * @param product The `PurchasesProduct` the user intends to purchase.
331
- * @param discount The `PurchasesDiscount` to apply to the product.
330
+ * @param product The `PurchasesStoreProduct` the user intends to purchase.
331
+ * @param discount The `PurchasesStoreProductDiscount` to apply to the product.
332
332
  * @returns { Promise<PurchasesPromotionalOffer> } Returns when the `PurchasesPaymentDiscount` is returned.
333
- * Null is returned for Android and incompatible iOS versions. The promise will be rejected if setup has not been
333
+ * Null is returned for Android and incompatible iOS versions. The promise will be rejected if configure has not been
334
334
  * called yet or if there's an error getting the payment discount.
335
335
  */
336
336
  static getPromotionalOffer(product: PurchasesStoreProduct, discount: PurchasesStoreProductDiscount): Promise<PurchasesPromotionalOffer | undefined>;
@@ -343,14 +343,14 @@ export default class Purchases {
343
343
  *
344
344
  * This is useful for cases where customer information might have been updated outside of the app, like if a
345
345
  * promotional subscription is granted through the RevenueCat dashboard.
346
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or there's an error
346
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or there's an error
347
347
  * invalidating the customer info cache.
348
348
  */
349
349
  static invalidateCustomerInfoCache(): Promise<void>;
350
350
  /** iOS only. Presents a code redemption sheet, useful for redeeming offer codes
351
351
  * Refer to https://docs.revenuecat.com/docs/ios-subscription-offers#offer-codes for more information on how
352
352
  * to configure and use offer codes
353
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or there's an error
353
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or there's an error
354
354
  * presenting the code redemption sheet.
355
355
  */
356
356
  static presentCodeRedemptionSheet(): Promise<void>;
@@ -363,7 +363,7 @@ export default class Purchases {
363
363
  * restrictions refer to our guide: https://docs.revenuecat.com/docs/subscriber-attributes
364
364
  *
365
365
  * @param attributes Map of attributes by key. Set the value as an empty string to delete an attribute.
366
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or there's an error
366
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or there's an error
367
367
  * setting the subscriber attributes.
368
368
  */
369
369
  static setAttributes(attributes: {
@@ -373,7 +373,7 @@ export default class Purchases {
373
373
  * Subscriber attribute associated with the email address for the user
374
374
  *
375
375
  * @param email Empty String or null will delete the subscriber attribute.
376
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
376
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
377
377
  * setting the email.
378
378
  */
379
379
  static setEmail(email: string | null): Promise<void>;
@@ -381,7 +381,7 @@ export default class Purchases {
381
381
  * Subscriber attribute associated with the phone number for the user
382
382
  *
383
383
  * @param phoneNumber Empty String or null will delete the subscriber attribute.
384
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
384
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
385
385
  * setting the phone number.
386
386
  */
387
387
  static setPhoneNumber(phoneNumber: string | null): Promise<void>;
@@ -389,7 +389,7 @@ export default class Purchases {
389
389
  * Subscriber attribute associated with the display name for the user
390
390
  *
391
391
  * @param displayName Empty String or null will delete the subscriber attribute.
392
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
392
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
393
393
  * setting the display name.
394
394
  */
395
395
  static setDisplayName(displayName: string | null): Promise<void>;
@@ -397,14 +397,14 @@ export default class Purchases {
397
397
  * Subscriber attribute associated with the push token for the user
398
398
  *
399
399
  * @param pushToken null will delete the subscriber attribute.
400
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
400
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
401
401
  * setting the push token.
402
402
  */
403
403
  static setPushToken(pushToken: string | null): Promise<void>;
404
404
  /**
405
405
  * Set this property to your proxy URL before configuring Purchases *only* if you've received a proxy key value
406
406
  * from your RevenueCat contact.
407
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
407
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
408
408
  * setting the proxy url.
409
409
  */
410
410
  static setProxyURL(url: string): Promise<void>;
@@ -412,7 +412,7 @@ export default class Purchases {
412
412
  * Automatically collect subscriber attributes associated with the device identifiers.
413
413
  * $idfa, $idfv, $ip on iOS
414
414
  * $gpsAdId, $androidId, $ip on Android
415
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
415
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
416
416
  * setting collecting the device identifiers.
417
417
  */
418
418
  static collectDeviceIdentifiers(): Promise<void>;
@@ -421,7 +421,7 @@ export default class Purchases {
421
421
  * Required for the RevenueCat Adjust integration
422
422
  *
423
423
  * @param adjustID Empty String or null will delete the subscriber attribute.
424
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
424
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
425
425
  * setting Adjust ID.
426
426
  */
427
427
  static setAdjustID(adjustID: string | null): Promise<void>;
@@ -429,7 +429,7 @@ export default class Purchases {
429
429
  * Subscriber attribute associated with the AppsFlyer Id for the user
430
430
  * Required for the RevenueCat AppsFlyer integration
431
431
  * @param appsflyerID Empty String or null will delete the subscriber attribute.
432
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
432
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
433
433
  * setting the Appsflyer ID.
434
434
  */
435
435
  static setAppsflyerID(appsflyerID: string | null): Promise<void>;
@@ -438,7 +438,7 @@ export default class Purchases {
438
438
  * Recommended for the RevenueCat Facebook integration
439
439
  *
440
440
  * @param fbAnonymousID Empty String or null will delete the subscriber attribute.
441
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
441
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
442
442
  * setting the Facebook Anonymous ID.
443
443
  */
444
444
  static setFBAnonymousID(fbAnonymousID: string | null): Promise<void>;
@@ -447,7 +447,7 @@ export default class Purchases {
447
447
  * Recommended for the RevenueCat mParticle integration
448
448
  *
449
449
  * @param mparticleID Empty String or null will delete the subscriber attribute.
450
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
450
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
451
451
  * setting the Mparticle ID.
452
452
  */
453
453
  static setMparticleID(mparticleID: string | null): Promise<void>;
@@ -456,7 +456,7 @@ export default class Purchases {
456
456
  * Required for the RevenueCat OneSignal integration
457
457
  *
458
458
  * @param onesignalID Empty String or null will delete the subscriber attribute.
459
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
459
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
460
460
  * setting the Onesignal ID.
461
461
  */
462
462
  static setOnesignalID(onesignalID: string | null): Promise<void>;
@@ -465,7 +465,7 @@ export default class Purchases {
465
465
  * Required for the RevenueCat Airship integration
466
466
  *
467
467
  * @param airshipChannelID Empty String or null will delete the subscriber attribute.
468
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
468
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
469
469
  * setting the Airship Channel ID.
470
470
  */
471
471
  static setAirshipChannelID(airshipChannelID: string | null): Promise<void>;
@@ -473,7 +473,7 @@ export default class Purchases {
473
473
  * Subscriber attribute associated with the install media source for the user
474
474
  *
475
475
  * @param mediaSource Empty String or null will delete the subscriber attribute.
476
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
476
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
477
477
  * setting the media source.
478
478
  */
479
479
  static setMediaSource(mediaSource: string | null): Promise<void>;
@@ -481,7 +481,7 @@ export default class Purchases {
481
481
  * Subscriber attribute associated with the install campaign for the user
482
482
  *
483
483
  * @param campaign Empty String or null will delete the subscriber attribute.
484
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
484
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
485
485
  * setting the campaign.
486
486
  */
487
487
  static setCampaign(campaign: string | null): Promise<void>;
@@ -489,7 +489,7 @@ export default class Purchases {
489
489
  * Subscriber attribute associated with the install ad group for the user
490
490
  *
491
491
  * @param adGroup Empty String or null will delete the subscriber attribute.
492
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
492
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
493
493
  * setting ad group.
494
494
  */
495
495
  static setAdGroup(adGroup: string | null): Promise<void>;
@@ -497,7 +497,7 @@ export default class Purchases {
497
497
  * Subscriber attribute associated with the install ad for the user
498
498
  *
499
499
  * @param ad Empty String or null will delete the subscriber attribute.
500
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
500
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
501
501
  * setting the ad subscriber attribute.
502
502
  */
503
503
  static setAd(ad: string | null): Promise<void>;
@@ -505,7 +505,7 @@ export default class Purchases {
505
505
  * Subscriber attribute associated with the install keyword for the user
506
506
  *
507
507
  * @param keyword Empty String or null will delete the subscriber attribute.
508
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
508
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
509
509
  * setting the keyword.
510
510
  */
511
511
  static setKeyword(keyword: string | null): Promise<void>;
@@ -513,7 +513,7 @@ export default class Purchases {
513
513
  * Subscriber attribute associated with the install ad creative for the user
514
514
  *
515
515
  * @param creative Empty String or null will delete the subscriber attribute.
516
- * @returns {Promise<void>} The promise will be rejected if setup has not been called yet or if there's an error
516
+ * @returns {Promise<void>} The promise will be rejected if configure has not been called yet or if there's an error
517
517
  * setting the creative subscriber attribute.
518
518
  */
519
519
  static setCreative(creative: string | null): Promise<void>;
@@ -530,7 +530,7 @@ export default class Purchases {
530
530
  */
531
531
  static canMakePayments(features?: BILLING_FEATURE[]): Promise<boolean>;
532
532
  /**
533
- * Check if setup has finished and Purchases has been configured.
533
+ * Check if configure has finished and Purchases has been configured.
534
534
  *
535
535
  * @returns {Promise<Boolean>} promise with boolean response
536
536
  */