-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I have updated Purchases SDK to the latest version
- I have read the Contribution Guidelines
- I have searched the Community
- I have read docs.revenuecat.com
- I have searched for existing Github issues
‼️ Required data ‼️
Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!
Environment
- Output of
flutter doctor
[✓] Flutter (Channel stable, 3.35.6, on macOS 15.6.1 24G90 darwin-arm64, locale en-US) [776ms]
• Flutter version 3.35.6 on channel stable at /Users/peter/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9f455d2486 (13 days ago), 2025-10-08 14:55:31 -0500
• Engine revision d2913632a4
• Dart version 3.9.2
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging
[!] Android toolchain - develop for Android devices (Android SDK version 36.1.0-rc1) [2.6s]
• Android SDK at /Users/peter/Library/Android/sdk
• Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
• Platform android-36, build-tools 36.1.0-rc1
• ANDROID_HOME = /Users/peter/Library/Android/sdk
• Java binary at: /Users/peter/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1) [1,632ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17A400
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [117ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2025.1) [117ms]
• Android Studio at /Users/peter/Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.6+-13391695-b895.109)
[✓] IntelliJ IDEA Ultimate Edition (version 2025.2.3) [115ms]
• IntelliJ at /Users/peter/Applications/IntelliJ IDEA Ultimate.app
• Flutter plugin version 88.0.0
• Dart plugin version 252.25557.23
[✓] VS Code (version 1.101.0) [12ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.112.0
- Version of
purchases-flutter
purchases_flutter: ^9.8.0
purchases_ui_flutter: ^9.8.0
- Testing device version e.g.: iOS 15.5, Android API 30, etc.
macOS 15.6.1 (24G90) - How often the issue occurs- every one of your customers is impacted? Only in dev?
I have only tested in dev - Debug logs that reproduce the issue
- Steps to reproduce, with a description of expected vs. actual behavior
Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Describe the bug
In my app, I am adding support for RC Paywalls. It works on Android and iOS. The docs say that macOS should also be supported, but when I try to open the paywall on a mac, I get the following exception. Is there something I'm missing? Thanks!
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ PlatformException(unregistered_view_type, A UIKitView widget is trying to create a PlatformView with an unregistered type: < com.revenuecat.purchasesui/PaywallView >, If you are the author of the PlatformView, make sure `registerViewFactory` is invoked.
│ See: https://docs.flutter.dev/development/platform-integration/platform-views#on-the-platform-side-1 for more details.
│ If you are not the author of the PlatformView, make sure to call `GeneratedPluginRegistrant.register`., null)
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)
│ #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:367:18)
│ #2 <asynchronous suspension>
│ #3 PlatformViewsService.initUiKitView (package:flutter/src/services/platform_views.dart:274:5)
│ #4 <asynchronous suspension>
│ #5 _DarwinViewState._createNewUiKitView (package:flutter/src/widgets/platform_view.dart:933:36)
│ #6 <asynchronous suspension>
├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
│ ⛔ Error during app initialization in runZoneGuarded
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Additional context
jonasbark
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working