Skip to content

WebTrit/webtrit_phone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebTrit Phone

WebTrit Phone is a feature-rich application designed for seamless communication.

Flutter Project Environment Setup

Use the following setup to ensure compatibility with this branch:

  • Flutter: 3.32.4 (stable channel)
  • Android SDK: 35.0.1

Please align your local environment with these versions for consistent behavior across development and testing workflows.

Documentation Overview

  • Environment: See the Environment documentation for details on environment properties.
  • SSL Certificates: Refer to the SSL Certificates documentation for information on SSL certificate handling.
  • Build Process: Learn more about build configurations in the Build documentation.
  • Application Properties: Customize properties such as the Bundle ID and App Name in the Application Settings documentation.
  • Application Launch Assets: Configure the application launch assets in the Launch Assets documentation.
  • Localization: For information on localization settings, see Localizely.

Application Configuration

The application offers extensive customization options:

  • Color Scheme – Customize the application's color palette.
  • Widgets – Configure UI widgets according to your needs.
  • Pages – Customize pages and their layouts.
  • Features – Enable or disable specific features.
    • Custom Login – Implement a custom login page.
    • Embedded pages – Implements embedded pages that extend the WebTrit app with custom web content.

Development & Build

  • Build and run: See the Build and Run documentation for details on how to build and run the application.
  • Flavors: See the Build Flavors documentation for details on how to configure and use build flavors.
  • Make Commands: See the Make Commands for available build and automation commands.
  • Development Workflow and Git Hooks: See the Development Guide for details on commit conventions, hook setup, and workflow tools.

Testing

Test commands

  • Run unit and widget tests
    flutter test
  • Run integration tests in dev mode
    patrol develop --dart-define-from-file=../dart_define.json --dart-define-from-file=dart_define.integration_test.json --flavor=deeplinkssmsReceiver
  • Build integration tests
    patrol build android/ios --dart-define-from-file=../dart_define.json --dart-define-from-file=dart_define.integration_test.json --flavor=deeplinkssmsReceiver
  • To specify a test file, use the -t option:
    patrol build -t integration_test/call_and_recent_test.dart ...
  • For build and deploy to Firebase Test Lab, use the following command from the tool/scripts directory:
    ./testlab_assemble_android.sh <testfile(optional)>
    ./testlab_assemble_ios.sh <testfile(optional)>

Test variables

  • WEBTRIT_APP_TEST_CUSTOM_CORE_URL (example core.demo.mycompany.com)
  • WEBTRIT_APP_TEST_EMAIL_CREDENTIAL (example [email protected])
  • WEBTRIT_APP_TEST_EMAIL_VERIFY_CREDENTIAL (example 123456)
  • WEBTRIT_APP_TEST_OTP_CREDENTIAL (example +1234566789)
  • WEBTRIT_APP_TEST_OTP_VERIFY_CREDENTIAL (example 123456)
  • WEBTRIT_APP_TEST_PASSWORD_USER_CREDENTIAL (example username)
  • WEBTRIT_APP_TEST_PASSWORD_PASSWORD_CREDENTIAL (example 123456)
  • WEBTRIT_APP_TEST_DEFAULT_LOGIN_METHOD (email | password | otp)
  • WEBTRIT_APP_TEST_EXT_CONTACT_A (example User A)
  • WEBTRIT_APP_TEST_EXT_CONTACT_A_NUMBER (example 00123)
  • WEBTRIT_APP_TEST_EXT_CONTACT_B (example User B)
  • WEBTRIT_APP_TEST_EXT_CONTACT_B_NUMBER (example 00456)
  • WEBTRIT_APP_TEST_ACCOUNT_NAME (example Test Account)
  • WEBTRIT_APP_TEST_ACCOUNT_MAIN_NUMBER (example 1230000)
  • WEBTRIT_APP_TEST_CALL_NUMBER_A (example 1111)
  • WEBTRIT_APP_TEST_CALL_NUMBER_B (example 2222)
  • WEBTRIT_APP_TEST_CROSS_CALL_SLEEP_SECONDS (example 10)

Contributing

We welcome contributions from the community! Please follow our contribution guidelines when submitting pull requests.

License

This project is licensed under the MIT License.

Acknowledgments

This project is tested with BrowserStack.

About

WebTrit Phone application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6