Skip to content

Conversation

agustinkoll-rootstrap
Copy link
Contributor

Description

  • Introduces dotenv environment configuration with an example file (/env/.env.example).

  • Adds an Environment Selector on the login screen to switch APIs at runtime without rebuilding—flexibility to test multiple environments without creating a new build.

  • Configures Dio with logging and auth token interceptors. New auth header interceptor that injects the token header. And adds LogInterceptor in debug mode.

  • Cleans up the repository by removing files that shouldn’t be committed.

  • preferences.dart now include clear() to fully remove persisted credentials.

Issue

Preview

Screenshot_20251006_134428

@rs-gpt-review Describe the changes in this PR. Recommend improvements (including code improvements), possible memory leaks, and best practices.

Copy link

@tarruk tarruk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! 🚀

Copy link

@juanRodriguez17 juanRodriguez17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! 🚀 Just a couple of suggestions

@agustinkoll-rootstrap agustinkoll-rootstrap merged commit 3d9db32 into main Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants