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

Native App for iOS/Android/Desktop with Capacitor.js and Electron #5

Open
5 tasks
lalalune opened this issue Feb 4, 2024 · 1 comment
Open
5 tasks
Labels
help wanted Extra attention is needed
Milestone

Comments

@lalalune
Copy link
Contributor

lalalune commented Feb 4, 2024

We want to make the app available in app stores

We can do this easily with Capacitor. This has been tested and is already integrated into the app.

  • Prepare iOS build
  • Prepare Android build

For desktop, we will need to have an electron deployment. We can do this by building the frontend as a React component which is then imported into the app-native package, which is an electron-vite wrapper.

  • Prepare Mac OS build
  • Prepare Linux Build
  • Prepare Windows Build

The goal is to get these all deployed to the App Stores in a way that is maximally automated and simple, and requires minimal human effort. Capacitor enables desktop builds with @capacitor-community/electron, so we can keep everything inside the Capacitor projects.

@lalalune lalalune changed the title Native App for iOS/Android/Desktop with Capacitor.js Native App for iOS/Android/Desktop with Capacitor.js and Electron Feb 4, 2024
@lalalune lalalune added this to the Milestone 2 milestone Feb 4, 2024
@lalalune lalalune added the help wanted Extra attention is needed label Feb 4, 2024
@lalalune lalalune moved this to Backlog in Cojourney MVP Feb 4, 2024
@lalalune lalalune moved this from Backlog to Ready in Cojourney MVP Feb 17, 2024
@lalalune
Copy link
Contributor Author

lalalune commented Mar 8, 2024

name: Publish to App Store

on:
  push:
    branches:
      - main  # Or any branch you want to trigger the deployment from

jobs:
  build-and-deploy:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7  # Specify the Ruby version that your Fastlane setup requires

    - name: Install dependencies
      run: |
        gem install bundler
        bundle install

    - name: Build and Publish to App Store
      env:
        APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
        APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
        APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
      run: |
        fastlane deliver --api_key_path path/to/api_key.json

@lalalune lalalune moved this from Ready to Backlog in Cojourney MVP Mar 15, 2024
@utf94 utf94 assigned utf94 and unassigned utf94 Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants