Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
orestis-z opened this issue Mar 1, 2025 · 0 comments
Open
3 tasks done

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

orestis-z opened this issue Mar 1, 2025 · 0 comments

Comments

@orestis-z
Copy link

orestis-z commented Mar 1, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant