Skip to main content
Question

Ionic Web

  • 24 September 2023
  • 5 replies
  • 207 views

Forum|alt.badge.img

We are building a cross-platform app.

When trying the capacitor plugin, we are getting: Web not supported in this plugin.

Is capacitor/ionic supported in iOS and Android only?

5 replies

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 311 replies
  • September 27, 2023

Hey @hosam-aly-b726a0,

At this time, our Capacitor/Ionic SDKs can’t support web as a platform. You’d need to fetch the offerings manually via our REST API, and manually handle the purchase flow for Stripe as well.


Forum|alt.badge.img+3
  • Member
  • 7 replies
  • December 11, 2023

Is this on your roadmap?  Any timeline?   


Forum|alt.badge.img+5

One minor feedback item. The error warning “Web not supported in this plugin” is super generic and was tough for me to find the origin while debugging. It would be better if it specified the origin, e.g. “Web not supported in @revenuecat/purchases-capacitor” or something like that.

 

I’m just seeing the “setMockWebResults” method, so will try that out for web testing. 


  • New Member
  • 3 replies
  • June 5, 2024

Did you get setMockWebResults working? It still just shows “Plugin is not supported on Web” for me.


Forum|alt.badge.img+3
  • New Member
  • 1 reply
  • November 8, 2024

I also find it really inconvenient that it isn’t supported. 


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