Skip to main content

Flutter - web support


Forum|alt.badge.img+1

Hi everyone, 

We are building web application in Flutter and wanted to ask if you can support it anyhow? 

I have checked official SDK and it seems to not be supported: https://pub.dev/packages/purchases_flutter/score. As of now, we have a great experience integrating your product on iOS and Android.

Thanks in advance.

Kind regards, 
Marcin

tina
RevenueCat Staff
Forum|alt.badge.img+10
  • RevenueCat Staff
  • January 22, 2022

Hey @Marcin Karmelita 

Support for Flutter web is on the product roadmap, but not something we currently support. Since this is something we are considering, it’s difficult to provide a concrete ETA. Our SDKs are wrappers around our API, so you should be able to do everything that our SDKs do. To integrate RevenueCat on the web, check out our guide on implementing Stripe web payments. To fetch products from Offerings, you can use the GET /offerings endpoint to do so. 


Peter Keefe
Forum|alt.badge.img+4

This would be a great addition to the Flutter SDK! Also, Flutter now has stable support for Windows, with Linux and Mac soon to follow. It would be great if RevenueCat could add support for web using Dart (and REST, of course), then it would also work for the desktop platforms.


Forum|alt.badge.img+5
  • New Member
  • June 22, 2022

+1


Forum|alt.badge.img
  • New Member
  • September 7, 2022

It’s been months, can we can an update of any sort for flutter web support?


Steph
Forum|alt.badge.img+9
  • Helper
  • October 12, 2022

@tina Our team also needs to access Revenue Cat on Flutter web. Is this is something that can be prioritized in the roadmap?

Also if the SDKs are wrappers around the API, curious if there anything inherent to web that makes this difficult for the team to support in the Flutter library?


Forum|alt.badge.img
  • New Member
  • November 7, 2022

Hi! this is also one of my requrements, I would like to have one subscription system for web and mobile


Forum|alt.badge.img+3

Hi together,

any update on web support for flutter? Web supports means deployment to web.

Many thanks.

Best regards


Forum|alt.badge.img+5
  • Dedicated Member
  • February 23, 2023

Any updates on this? 


Forum|alt.badge.img+4
  • New Member
  • April 25, 2023

Would be interesting for us too. Are there updates on RevenueCat for web?


Forum|alt.badge.img+2

Any roadmap updates for web support? Currently seeing “uncaught (in promise) Error: MissingPluginException(No implementation found for method setupPurchases on channel purchases_flutter)” in web.  Looking for other solutions atm so I can use Android, Ios & web


Forum|alt.badge.img+3

@tina hey any updates on this? thank you


Forum|alt.badge.img+3
  • Helper
  • February 9, 2024

I would like to bump this. We have Flutter running web and mobile and currently, having to have two processes sucks.

Its convoluted to need to setup a backend endpoint, make requests, clog up the network and make your own classes to init the system when the plugin exists already.

Its not even possible to take an API request and use customerInfo.fromJson() within Flutter to parse the API response object into the system which ideally, if we must use the API, should be the absolute minimum integration. We have been requested a proper web integration for some time now and is clearly needed by customers.

I propose a flow that could work as:

1. Purchases.addCustomerInfoUpdateListener fails to work on web as current
2. We make an api request to our own back and receive a json object
3. We parse this object into the revenue cat system manually so the rest of the functionality remains
4. We can still query CustomerInfo no matter the platform

From a development standpoint, it seems as though its some basic login and improvement within your rest API and the provided toJson functions.


  • New Member
  • February 12, 2024

When starting my app for web and calling

```Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);```

i get an error

```MissingPluginException(No implementation found for method setLogLevel on channel purchases_flutter)```

I’d guess that firebase internally sets tries to set the log level, but even this simple function isn’t supported for web with this package?

Even if i couldn’t perform purchases on the web, it would be nice to have a version of RevenueCat that doesn’t prevent the rest of my app from working on web.


Forum|alt.badge.img+3
  • Helper
  • February 12, 2024
daniel-g33 wrote:

When starting my app for web and calling `Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);` i get an error ```MissingPluginException(No implementation found for method setLogLevel on channel purchases_flutter)```

I’d guess that firebase internally sets tries to set the log level, but even this simple function isn’t supported for web with this package?

Even if i couldn’t perform purchases on the web, it would be nice to have a version of RevenueCat that doesn’t prevent the rest of my app from working on web.



For these instances, you need to use the kIsWeb constant provided by Flutter / Dart to avoid breaking web. 


Forum|alt.badge.img+6
  • Member
  • February 14, 2024

This is badly needed


Forum|alt.badge.img+1
  • New Member
  • February 21, 2024

Our Team needs web support too


Forum|alt.badge.img+1
  • New Member
  • June 11, 2024

This is needed 


Forum|alt.badge.img+6
  • Active Member
  • June 20, 2024

It is needed for me too :)


Forum|alt.badge.img+1
  • New Member
  • June 30, 2024

+++++++

This is needed!! Please!


Forum|alt.badge.img+1

Curious to know if there’s any update on this? or any open source implementations that could be replicated to use the API’s instead of the SDKs? But yeah, ideally the same code should work on all the platforms as it currently does for iOS and Android. 


Forum|alt.badge.img+2

I could also use web support for the Flutter SDK. 😁


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