Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Android app support #1516

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

wailin247
Copy link

@wailin247 wailin247 commented Jan 3, 2025

Add support for an Android app for DevPod.

  • Documentation: Update docs/pages/other-topics/mobile-support.mdx to include a note about the new Android app and provide a link to the repository.
  • Android Manifest: Add android/app/src/main/AndroidManifest.xml to define the app's package name, permissions, main activity, and launcher icon.
  • Main Activity: Add android/app/src/main/java/com/devpod/MainActivity.java to create a main activity class extending ReactActivity and override the getMainComponentName method.
  • Layout: Add android/app/src/main/res/layout/activity_main.xml to define the main activity layout with a FrameLayout.
  • String Resources: Add android/app/src/main/res/values/strings.xml to include the app name string resource.
  • Launcher Icon: Add android/app/src/main/res/mipmap/ic_launcher.png to include the app launcher icon.
  • Build Configuration: Add android/app/build.gradle to configure the Android app build settings and define dependencies for React Native and other libraries.
  • Project Settings: Add android/settings.gradle to include the React Native project settings.
  • Gradle Wrapper: Add android/gradle/wrapper/gradle-wrapper.properties to define the Gradle wrapper properties.
  • Gradle Properties: Add android/gradle.properties to configure Gradle properties for the Android app.
  • Git Ignore: Add android/.gitignore to include a .gitignore file for the Android project.

For more details, open the Copilot Workspace session.

Add support for an Android app for DevPod.

* **Documentation**: Update `docs/pages/other-topics/mobile-support.mdx` to include a note about the new Android app and provide a link to the repository.
* **Android Manifest**: Add `android/app/src/main/AndroidManifest.xml` to define the app's package name, permissions, main activity, and launcher icon.
* **Main Activity**: Add `android/app/src/main/java/com/devpod/MainActivity.java` to create a main activity class extending `ReactActivity` and override the `getMainComponentName` method.
* **Layout**: Add `android/app/src/main/res/layout/activity_main.xml` to define the main activity layout with a `FrameLayout`.
* **String Resources**: Add `android/app/src/main/res/values/strings.xml` to include the app name string resource.
* **Launcher Icon**: Add `android/app/src/main/res/mipmap/ic_launcher.png` to include the app launcher icon.
* **Build Configuration**: Add `android/app/build.gradle` to configure the Android app build settings and define dependencies for React Native and other libraries.
* **Project Settings**: Add `android/settings.gradle` to include the React Native project settings.
* **Gradle Wrapper**: Add `android/gradle/wrapper/gradle-wrapper.properties` to define the Gradle wrapper properties.
* **Gradle Properties**: Add `android/gradle.properties` to configure Gradle properties for the Android app.
* **Git Ignore**: Add `android/.gitignore` to include a `.gitignore` file for the Android project.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/loft-sh/devpod?shareId=XXXX-XXXX-XXXX-XXXX).
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.

1 participant