Bubble - Pattern Lock Plugin


This Plugin enables you to add a classical Pattern Lock to your app similar to the lock screen of an Android Smartphone. You can use the Pattern Lock to add an additional layer of user authentication (such as 2FA) and to increase the user experience on smartphones. The correct code that unlocks the Pattern Lock ist stored as a number, where ich number represents the position of a dot in accordance with a normal phone dial. You can also modify the background colour of the Pattern Lock. You can store the pattern for each user as a number within your database assigned to each user, and then check upon login for this code. For a demo of this Plugin please visit:


Drag the "Pattern Lock" Element to your page and place it where you want the pattern lock to appear. Within the element inspector you can define the background color of the pattern lock as well as the code (numerical) that will unlock the Pattern Lock. For example the Code "257" will be a straight line from the middle top to the bottom. If a user enters an incorrect code, the "Incorrect Code" event will be triggered and you can show an alert or a popup for example, informing the user that the code is incorrect. If a correct code is inputted the "Correct Code" event will be triggered and you can redirect the user to a different page, make change to the current user or change the state of an object.