Skip to content

feat: add tauri proper handling for iOS and Android #99

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

Open
wants to merge 7 commits into
base: feat/tauri-application
Choose a base branch
from

Conversation

Vexcited
Copy link

Also renames package names from old project WIP (portableedp -> ecoledirecteplus) and does a bunch of stuff such as removing the banner during login (like the extension) by replicating the postMessage.

@Vexcited
Copy link
Author

Going to add the CI for mobile nightly builds that can be triggered within Actions.
Here's how you should configure the secrets, based on https://tauri.app/distribute/sign/android/ and https://tauri.app/distribute/sign/ios/.

Android

  1. Make a keystore using keytool -genkey -v -keystore ~/edp-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload and run base64 -i ~/edp-keystore.jks and put the value inside ANDROID_KEY_BASE64 secret.
  2. Write the provided password to create the keystore in a secret named ANDROID_KEY_PASSWORD
  3. Add secret named ANDROID_KEY_ALIAS with value upload (it's the value given in -alias upload during the keystore creation)

Done !

iOS

  1. Go on https://appstoreconnect.apple.com/access/users
  2. Click on "Integrations" tab

image

  1. Click on the "+" button to create an API key with "Admin" access.

image

  1. Once created, you'll download the key (which is named AuthKey_<id>.p8)
  2. Write the Key ID to APPLE_API_KEY secret
  3. Write the Issuer ID to APPLE_API_ISSUER secret
  4. Run base64 -i ./AuthKey_<id>.p8 and put the value inside APPLE_API_KEY_BASE64 secret

Done !

Build

You can trigger the build in "Actions".
.apk, .ipa, .exe and more will be dropped as Artifacts in the run's summary.

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