Question

Ionic Web

  • 24 September 2023
  • 3 replies
  • 89 views

Badge

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?


3 replies

Userlevel 4
Badge +6

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.

Badge +1

Is this on your roadmap?  Any timeline?   

Badge +4

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. 

Reply