You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before i do this i probably need to add a pricing page within the app. And before i do that i probably need to #55
To protect a route:
In route_notifier.dart, I need to make the redirect, data function async
add the route i want to protect in an if statement
add a await ref.read(metadataProvider.future) to retrieve the latest metadata data in the if statement (should be cached so it should be relatively fast)
Check the subscription in the if statement to protect the route.
The text was updated successfully, but these errors were encountered:
Before i do this i probably need to add a pricing page within the app. And before i do that i probably need to #55
To protect a route:
route_notifier.dart
, I need to make the redirect, data function asyncawait ref.read(metadataProvider.future)
to retrieve the latest metadata data in the if statement (should be cached so it should be relatively fast)The text was updated successfully, but these errors were encountered: