Skip to main content
Question

Deeplink to iOS subscription settings

  • February 4, 2022
  • 6 replies
  • 680 views

Forum|alt.badge.img+2

What’s the best way (when using RevenueCat) to create a link from your app that open up the native iOS subscription settings? 

 

E.g. user clicks button ‘manage subscription’ → the iOS settings opens up to the subscriptions page.

 

Thanks!

This post has been closed for comments

6 replies

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • February 7, 2022

Hi @TK01,

On the latest version of the SDK, you can use the `managementURL` property of PurchaserInfo: https://github.com/RevenueCat/purchases-ios/blob/ed2b2a1cc72ad1d80dd8e7de187eaf9ff62a8eae/Purchases/Public/RCPurchaserInfo.h#L70-L75 

Our beta version will have a dedicated method for this: https://github.com/RevenueCat/purchases-ios/blob/main/Purchases/Purchasing/Purchases.swift#L1305-L1323 


Forum|alt.badge.img+2
  • Author
  • February 8, 2022

Sundeep, thanks for the reply. I forgot to mention I’m using the Flutter version of RevenueCat SDK. Is there an equivalent way to do this in Flutter? Thanks.


sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • February 9, 2022

@TK01 it’s also inside PurchaserInfo as `managementURL`, you can see the exact format here: https://github.com/RevenueCat/purchases-flutter/blob/b7854231f530998871fe51c8ae0e67ae72c4aad2/lib/models/purchaser_info_wrapper.dart#L68 


Forum|alt.badge.img+2
  • Author
  • February 15, 2022

This is perfect, thank you!


Forum|alt.badge.img
  • New Member
  • August 17, 2023

I am just starting out with RevenueCat and Flutter SDK.  

On IOS I can retrieve the offers and make a purchase.  

Currently when I get the CustomerInfo the managementUrl is blank.  

What causes this management URL to be blank?  How do I get a valid URL?


Forum|alt.badge.img
  • New Member
  • August 17, 2023

managementUrl is valid after a purchase is made.