bundle identifier change for android app#867
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on refining the application's build configuration and identity for Android. The core change involves updating the Android production bundle identifier to align with standard naming conventions. Additionally, the EAS build process has been enhanced to support distinct app variants across development, preview, and production environments, which improves the flexibility and management of different application builds. These changes are supported by necessary dependency updates to ensure compatibility and leverage the latest Expo tooling. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the Android bundle identifier to align with the iOS one, using a com. TLD. It also introduces environment variables for different EAS build profiles (development, preview, production). The changes are generally good, but I've identified a potential issue with the preview build configuration that could cause installation conflicts with the production app. I've also suggested a minor improvement for consistency in the development bundle identifier.
Note: Security Review did not run due to the size of the PR.
| "preview": { | ||
| "env": { | ||
| "APP_VARIANT": "preview" | ||
| }, | ||
| "distribution": "internal" | ||
| }, |
There was a problem hiding this comment.
By setting APP_VARIANT to preview, the app config will use production bundle identifiers for preview builds. This might not be what you want, as it prevents installing preview and production builds on the same device. Consider creating a separate bundle identifier for preview builds and updating the logic in app.config.ts to use it when process.env.APP_VARIANT === 'preview'.
| const APP_NAME = 'SparkyFitness'; | ||
| const APP_SLUG = 'sparkyfitnessmobile'; | ||
| const ANDROID_PROD_BUNDLE_IDENTIFIER = 'org.SparkyApps.SparkyFitnessMobile'; | ||
| const ANDROID_PROD_BUNDLE_IDENTIFIER = 'com.SparkyApps.SparkyFitnessMobile'; |
Tip
Help us review and merge your PR faster!
Please ensure you have completed the Checklist below.
For Frontend changes, please run
pnpm run validateto check for any errors.PRs that include tests and clear screenshots are highly preferred!
Description
Provide a brief summary of your changes.
Related Issue
PR type [ ] Issue [ ] New Feature [ ] Documentation
Linked Issue: #
Checklist
Please check all that apply:
pnpm run validate(especially for Frontend).en) translation file (if applicable).rls_policies.sqlfor any new user-specific tables.Screenshots (if applicable)
Before
[Insert screenshot/GIF here]
After
[Insert screenshot/GIF here]