Skip to content

Dmadawa/RecipeApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS Code Signing Setup

To enable code signing for iOS builds, the following certificates and provisioning profiles need to be set up:

  1. Certificates:

    • Development Certificate: Required for running the app on physical devices during development.
    • Distribution Certificate: Required for submitting the app to the App Store.
  2. Provisioning Profiles:

    • Development Profile: Links the App ID (e.g., com.recipeapp.dev) with the development certificate.
    • Distribution Profile: Links the App ID (e.g., com.recipeapp) with the distribution certificate.
  3. App IDs: Unique App IDs need to be created for each environment:

    • Development: com.recipeapp.dev
    • Production: com.recipeapp
    • Staging: com.recipeapp.staging

To set this up, you need access to a paid Apple Developer Account.

Android Code Signing Setup

To enable code signing for Android builds, the following steps are required:

  1. Keystores:

    • Generate a keystore for each environment:
      • Development Keystore: Used for creating development builds.
      • Production Keystore: Used for creating production builds.

    Use the following command to generate a keystore:

    keytool -genkeypair -v -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -keystore <keystore-name>.jks -alias <key-alias>
    
  2. Signing Configurations: Configure android/app/build.gradle to include signing configurations for each environment.

  3. Secure Keystore Passwords: Do not hard-code passwords in the project. Instead, use environment variables or secure vaults to manage passwords.

  4. Environment-Specific Builds: Use the following commands to build for specific environments:

Development Build ./gradlew assembleReleaseDev

Production Build ./gradlew assembleRelease

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published