镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Manually retrieving/presenting paywalls #7

Open

Description

@brenodt

Hi, I have a question to make, is there a way for me to manually present paywalls? Based on the documentation, I know it's supported, but I haven't found the corresponding method in RN.

Use-case

I'm trying to setup Superwall in a very mature app, with many payment flows set in place.

I tried following the documentation as closely as I could, but never got to see a paywall presented in either iOS or Android, sim/emulator or physical device.

No errors are logged on Metro, but, by running the app through Xcode, I saw the following warnings:
image

I was already questioning the prospect of retroactively adding all app events on Superwall and re-configuring all payments flows, but seeing as I can't even get the paywall displayed upon pressing a CTA Banner, I'm scared of going forward with the implementation and giving up the existing system (which works).

It would be much better to have a way to fallback to the existing system if Superwall fails, be it on-device or via a Feature Flag, and to that end I just want to manually present the paywalls for now.

Thanks in advance!

Activity

  1. jakemor commented on Jun 25, 2024

    @jakemor

    Hey! That warning is unrelated, it has to do with event tracking.

    Sorry you're experiencing problems!

    Have you tried this guide? https://superwall.com/docs/troubleshooting

  2. brenodt commented on Jun 25, 2024

    @brenodt
    Author

    I did, but it didn't help me pin-point the source of the issue, unfortunately.
    I'm using RevenueCat, so I followed the guide to setup the subscription-related logic, and I've verified that the Superwall.shared.subscriptionStatus is properly set to inactive.

    Upon futher revision, I realized the issue only happens whilst debugging. I created a Testflight build, and by having that installed I'm able to see the Paywall. I'm not using StoreKit.

    My question remains, though, would it be possible to manually control the retrieval/presentation logic? It would make it much easier to adopt.

  3. bjollans commented on Jul 11, 2024

    @bjollans

    Hey, I had the same issue on an emulator and on a physical phone, using Expo.

    I got it to work both times by

    • uninstalling the development version of the app
    • Restarting the phone
    • Deleting the android / ios output folder in my code base
    • cleaning the build cache
    • rebuilding
  4. mostafahazim commented on Aug 13, 2024

    @mostafahazim

    would also like to know if it is possible to manually display the paywall in React-Native. The documentation shows how to achieve this in swift, objective-c and kotlin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions