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.

[BUG] Superwall.shared.register promise never resolves #57

Description

@orestis-z

New issue checklist

  • I have reviewed the README and documentation
  • I have searched existing issues and this is not a duplicate
  • I have attempted to reproduce the issue and include an example project.

General information

  • @superwall/react-native-superwall version: 2.0.3
  • React Native version: 0.76.1
  • Expo version (if applicable): 52.0.37
  • Platform affected (Android and/or iOS): Android
  • OS versions affected, e.g. iOS 18.3.1 (if applicable):
  • Devices/Simulators affected:
  • Reproducible in the example app? (Yes/No): No
  • Related issues:

Describe the bug

The promise returned by Superwall.shared.register never resolves and no wall is shown. If this is due to a misconfiguration on my side then the correct behaviour should be to reject the promise. Silently failing doesn't allow me to understand or handle the issue.

Steps to reproduce

use wrong params:

await Superwall.shared.register('pacement', new Map(), {});

instead of

await Superwall.shared.register({ placement: 'pacement'});

Other Information

Activity

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