Skip to content

WebTrit/webtrit_phone

Repository files navigation

WebTrit Phone

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

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

  • Make Commands: See the Make Commands for available build and automation commands.

Testing

Test commands

  • Run unit and widget tests
    flutter test
  • Run integration tests
    flutter test integration_test --dart-define-from-file=../dart_define.json --dart-define-from-file=dart_define.integration_test.json 
  • Run specific integration test
    flutter test integration_test/login_system_test.dart --dart-define-from-file=../dart_define.json --dart-define-from-file=dart_define.integration_test.json 
  • Or alternatively using specified driver
    flutter drive --driver=test_driver/integration_test.dart --target=integration_test/login_system_test.dart --dart-define-from-file=../dart_define.json --dart-define-from-file=dart_define.integration_test.json 

Test variables

  • WEBTRIT_APP_TEST_CUSTOM_CORE_URL (example http://localhost:4000\/tenant\/123123)
  • 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)

Default test variables located in dart_define.integration_test.json and could be add to flutter drive or test with --dart-define-from-file=dart_define.integration_test.json parameter. Also can be used multiple times to combine with regular dart_define.json file as on example above.

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 4

  •  
  •  
  •  
  •