Login Check
Premium Feature
Login Check is available on Business plans and up
Login Check allows your paywall to check whether the user has been signed in. This sign in state can be used for Conditions.
Turning on Login Check
Click into the Capabilities tab
Find 'Login Check'
Click 'Add'
Login State Conditionals
You may want to show/hide content on the paywall based on the user's login state. A common example is to hide the Login Button if the user is already logged in.
Add a Condition component
Change the Visibility rules to 'User is not Logged In' (make sure you have turned on the Login Check capability first)
Add a Login Button inside the Condition component
Preview the Login state in the preview bar
Setting User Login State from your App
Developer Task
In order for this condition to work, you must use the Nami SDK login functions.
Learn about Account Management in the SDK.
Last updated