@@ -422,15 +422,15 @@ export class Purchases extends IonicNativePlugin {
422
422
}
423
423
424
424
/**
425
- * This function will logIn the current user with an appUserID. Typically this would be used after a log in
425
+ * This function will logIn the current user with an appUserID. Typically this would be used after a log in
426
426
* to identify a user without calling configure.
427
427
* @param {String } appUserID The appUserID that should be linked to the currently user
428
- *
429
- * @return {Promise<LogInResult> } an object that contains the purchaserInfo after logging in, as well as a boolean indicating
430
- * whether the user has just been created for the first time in the RevenueCat backend.
428
+ *
429
+ * @return {Promise<LogInResult> } an object that contains the purchaserInfo after logging in, as well as a boolean indicating
430
+ * whether the user has just been created for the first time in the RevenueCat backend.
431
431
*/
432
432
@Cordova ( )
433
- public static logIn ( appUserID : string ) : Promise < LogInResult > {
433
+ static logIn ( appUserID : string ) : Promise < LogInResult > {
434
434
return ;
435
435
}
436
436
@@ -440,7 +440,7 @@ export class Purchases extends IonicNativePlugin {
440
440
* @return {Promise<PurchaserInfo> } new purchaser info after resetting.
441
441
*/
442
442
@Cordova ( )
443
- public static logOut ( ) : Promise < PurchaserInfo > {
443
+ static logOut ( ) : Promise < PurchaserInfo > {
444
444
return ;
445
445
}
446
446
@@ -515,14 +515,6 @@ export class Purchases extends IonicNativePlugin {
515
515
@Cordova ( { sync : true } )
516
516
setDebugLogsEnabled ( enabled : boolean ) : void { }
517
517
518
- /**
519
- * iOS only.
520
- * @param {boolean } simulatesAskToBuyInSandbox Set this property to true *only* when testing the ask-to-buy / SCA purchases flow.
521
- * More information: http://errors.rev.cat/ask-to-buy
522
- */
523
- @Cordova ( { sync : true } )
524
- setSimulatesAskToBuyInSandbox ( enabled : boolean ) : void { }
525
-
526
518
/**
527
519
* This method will send all the purchases to the RevenueCat backend. Call this when using your own implementation
528
520
* for subscriptions anytime a sync is needed, like after a successful purchase.
@@ -532,14 +524,6 @@ export class Purchases extends IonicNativePlugin {
532
524
@Cordova ( { sync : true } )
533
525
syncPurchases ( ) : void { }
534
526
535
- /**
536
- * iOS only. Presents a code redemption sheet, useful for redeeming offer codes
537
- * Refer to https://docs.revenuecat.com/docs/ios-subscription-offers#offer-codes for more information on how
538
- * to configure and use offer codes.
539
- */
540
- @Cordova ( { sync : true } )
541
- presentCodeRedemptionSheet ( ) : void { }
542
-
543
527
/**
544
528
* iOS only.
545
529
* @param {Boolean } enabled Set this property to true *only* when testing the ask-to-buy / SCA purchases flow.
0 commit comments