In your project, click on the “Extensions” option in the left sidebar.
Click on “Import Extension” and upload the Aix file you created.
. Use the extension in your AI2 project:
Drag and drop the extension component from the palette onto the screen.
Use blocks to call the loginWithPhoneNumber function and handle the events (OnLoginSuccess and OnLoginFailure) in your AI2 project.
Remember to implement the actual login logic in the loginWithPhoneNumber method based on the authentication service you are using. This example assumes you’ll use Firebase Authentication, but you should replace it with your chosen service’s login mechanism.