Skip to main content
Solved

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

  • 20 February 2022
  • 2 replies
  • 1177 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
Did this post help you find an answer to your question?

2 replies

Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 237 replies
  • Answer
  • February 25, 2022

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
  • 19 replies
  • February 27, 2022

Thanks @Andy. That is very helpful. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings