Prerequisites

Before you begin building the application, you must have the following prerequisites installed on your system:

  1. Catalyst CLI : Catalyst CLI contains a host of tools that enable you to initialize, develop, test, and deploy the components of your application from your local machine. We will be working with Catalyst CLI in this tutorial.

    You must perform these actions:

    1. Install Catalyst CLI: Catalyst CLI is installed through NPM. You must therefore have NPM and Node.js installed on your system before you install the CLI. Refer to the Install Catalyst CLI help page for details on the pre-requisites and the steps to install it.

    2. Login Catalyst CLI: After you install Catalyst CLI, you must authenticate the CLI with your Catalyst account before using it. Refer to the CLI Login help page for the steps to log in from Catalyst CLI and the various options available for it.

  2. Any IDE tool for Node.js code development : Download and install an IDE of your choice in your system. You can use any IDE to work with the function and the client code. Some popular choices include Visual Studio Code, IntelliJ IDEA, Eclipse, and Sublime Text.

  3. Flutter SDK

    The Flutter SDK is the core requirement for developing Flutter applications. It includes the Flutter framework, Dart programming language, and essential command-line tools. Please make sure to follow the steps below to install the Flutter SDK:

    Download and Install Flutter :

    Visit the official Flutter website at flutter.dev and download the Flutter SDK for your operating system.

    Extract the Archive :

    Extract the downloaded Flutter SDK archive to a location on your computer.

    Set up Environment Variables :

    Add the Flutter SDK’s bin directory to your system’s PATH environment variable. This step allows you to access Flutter’s command-line tools from any directory in your terminal.

    Run flutter doctor :

    Open your terminal and run the following command :

     
    copy
    flutter doctor

This command verifies if there are any additional requirements or dependencies needed for Flutter development and provides instructions to install or set them up.

Note : Please refer to this page to learn more about Catalyst Flutter SDK.
  1. Android studio

    Download the latest version of Android studio from their official site. Run the downloaded installer in your machine.

    Note : Please make sure to select the necessary components including the Android SDK and virtual device during the installation process.

    The IDE must meet these minimum supported environments:

    • Android Studio- 3.1.1 or later
    • OS- Android 21 (Lollipop 4.4)
    • Kotlin- 1.3.20
    • Gradle- 3.4.0
  2. iOS Setup

    To run the Flutter application on the iOS platform, please ensure to have these minimum supported environments in place:

    • CocoaPods
    • iOS - 9 or later
    • Swift - 4 or later
    • Set up a device or an emulator in your IDE for running your app

    We will be using XCode for running the application in iOS in this tutorial.

    Instal Xcode from the Mac App Store. After it is installed, launch it and agree to the license agreement, if prompted.

  3. Twilio account and credentials : As discussed earlier, you will need to purchase a paid Twilio account in order to integrate with Twilio’s Voice API. Make sure you obtain the below credentials in prior from your Twilio account:

    1. Twilio phone number
    2. Twilio SID
    3. AuthToken

    You can navigate to the Twilio console to obtain your account’s SID and AuthToken. These are auto-generated by Twilio upon account creation. SID is a unique string value provided by Twilio to identify your account’s call resource and AuthToken is generated to authenticate your API requests.

    Make sure to get a voice capable Twilio number. Again, this can be purchased for free from the Twilio console itself. As discussed earlier, the primary purpose of this number is to route calls in your application. We will use these credentials in our code section while calling Twilio’s Voice API.

    twilio-credentials

Last Updated 2024-09-12 18:16:13 +0530 +0530