Mini Password Protection

Published on February 24, 2022

In this tutorial, we will create a mini password app which uses the PasswordTextBox component. There is an image of a dog in the app, but to access it, one must enter the correct password. 

🏷️ Tags: #newbie, #tutorials-and-guides 

Step 1. Setting Up Screen1 and Screen2.

On the right/below is an output after designing.

6. On the top, you see Add Screen. Click on it and add a screen named Screen2. This diagram shows you how to add a screen.

7. After you added the screen, you should be redirected to that screen. If not, click on the Screen1 drop down on the top left corner, just next to the Add Screen button, and select Screen2.

8. Drag out an Image from the Designer.

9. Done! Your Screen2 design should look like this.

10. Go back to Screen1 and go to the Screen1 Blocks editor.

Step 2. Blocks for Screen1.

2. Use these blocks to check whether the password is correct. If it isn't, the Notifier will show an alert saying that the user has entered the wrong password.

3. Go back to the Designer, and select 'Screen2' in the Screen1 drop down on the top left corner, just next to the Add Screen button, and select Screen2.

Step 3. Blocks for Screen2.

When you see the No available assets block, delete it and replace it with the text block.

You're done! Go back to Screen1 and test your app out with the Companion. Or, you can download the AIA file here.

© Gordon Lu             📧 E-mail     💬 Message