View Code? Open in Web Editor
NEW
Native application for android and ios
JavaScript 69.70%
Starlark 0.25%
Java 0.53%
Objective-C 29.28%
Ruby 0.24%
miiting-app's Introduction
|
|
Type |
eDreams-Factory |
Plateformes |
Android, iOS |
Publication |
Play Store, AppStore |
Nom de package |
fr.miiting.app |
Démarrer l'application en mode debug (simulateur)
- Depuis la racine du projet
- S'assurer que les dépendances sont installées avec
yarn install
- Démarrer le packager
npm start -- --reset-cache
- Pour démarrer sur un simulateur iOS
- Ouvrir le projet xcode avec
xed ios
- Sélectionner le simulateur cible dans la liste
- Cliquer sur Run ( ▶ )
- Pour démarrer sur un appareil ou un simulateur Android
Générer une archive de release (QA, client...)
- Depuis la racine du projet
- Générer le bundle javascript avec
react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios
- Ouvrir xcode avec
xed ios
- Sélectionner la cible 🔨Généric iOS Device
- Cliquer sur Product > Archive
- Une fois l'archive terminée, xcode ouvre une fenêtre Organiser
- Cliquer sur Distribute App
- Sélectionner la méthode de distribution Ad-Hoc
- Choisir le provisionning profile approprié
- Sauvegarder l'archive, on y trouvera le fichier .ipa pour distribuer l'application
- Depuis la racine du projet, aller dans le sous-directory android avec
cd android
- Générer l'APK de release avec
./gradlew assembleRelease
- Le fichier se trouvera dans android/app/build/outputs/apk/release/
Générer une archive d'upload (Stores)
- Suivre les indications ci-dessus pour générer une archive de release
- Dans la fenêtre Organiser sélectionner la méthode AppStore (au lieu de Ad-Hoc)
- Choisir le provisionning profile approprié
- Le build sera envoyé et disponible directement sur AppStoreConnect après un certain temps de processing
- Depuis la racine du projet, aller dans le sous-directory android avec
cd android
- Générer le Android App Bundle avec
./gradlew bundleRelease
- Le fichier se trouvera dans android/app/build/outputs/bundle/release/
- Envoyer le fichier sur la Console Google Play
Crash au démarrage après un build (iOS, Xcode 11 ou plus)
Voir cette [pull request](https://github.com/facebook/react-native/pull/25146/files#diff-263fc157dfce55895cdc16495b55d190)
Dans le fichier **node_modules/react-native/React/Base/RCTModuleMethod.mm**
faire le même ajout que dans la pull request
miiting-app's People
Contributors
Watchers