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

Showing loading while subscriptions are loading #4

Open
Maxim-Filimonov opened this issue Aug 22, 2023 · 2 comments
Open

Showing loading while subscriptions are loading #4

Maxim-Filimonov opened this issue Aug 22, 2023 · 2 comments

Comments

@Maxim-Filimonov
Copy link

What are options to show loading screen for bloc integration?
Current UX looks junky as user first sees a page without subscription and then it suddenly reloads with all subscriptions loaded from linkfive.
I tried to use fetchProducts in init and show loading spinner myself. However, when I did that and showed paywall only when loading is finished paywall calls loadSubscriptions again which causes the screen to blink once.
I made a video for both cases:

  1. Flickr when fetchProducts is called manually
  2. lack of loading state when relying on paywall to call loadSubscriptions itself.
@AlexanderThiele
Copy link
Member

Hey @Maxim-Filimonov thanks for reporting the issue!

Will investigate the blinking issue! But it indeed looks a bit strange when you just want to offer 1 product. I've started to work on a new screen for single products. It would be much cleaner but it's still under development yet.

@Maxim-Filimonov
Copy link
Author

@AlexanderThiele any updates?

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

2 participants