Skip to main content
Solved

How to link user to cancel subscription page on React Native?

  • Feb 20, 2022 11:25 AM UTC
  • 2 replies
  • 1980 views

Forum|alt.badge.img+8

I know its not possible to cancel a user’s subscription using the RevenueCat’s SDK however we want to build a user experience in the app where if a user presses on a ‘Cancel’ button we navigate the user to the settings app of their OS. For example in React Native you can use `Linking.openURL('app-settings://notification/')` to navigate the user to the notification's settings of the app. Does anyone know what the url is for the `manage subscription` setting page in iOS and Android? 

If you want to see a real-life example of this, check out the Strava App.

Best answer by Andy

Hey @Walter Holohan, 

 

We have a property in PurchaserInfo called managementURL which you can use for this. The property also takes into account whether the purchase was made on Android, iOS or Stripe to take the customer to the appropriate URL. On iOS, it will send you directly to the Settings page if the purchase was made on the App Store. 

 

View original
This post has been closed for comments

2 replies

Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • Feb 25, 2022 8:25 PM UTC

Hey @Walter Holohan, 

 

We have a property in PurchaserInfo called managementURL which you can use for this. The property also takes into account whether the purchase was made on Android, iOS or Stripe to take the customer to the appropriate URL. On iOS, it will send you directly to the Settings page if the purchase was made on the App Store. 

 


Forum|alt.badge.img+8
  • Author
  • Dedicated Member
  • Feb 27, 2022 8:54 PM UTC

Thanks @Andy. That is very helpful.