Skip to content

Commit

Permalink
Bump cache-control revision. Clean outdated README
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrettt committed Oct 19, 2023
1 parent f28b035 commit 0aa0c61
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 44 deletions.
2 changes: 1 addition & 1 deletion HolusionCompanion/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default class App extends React.Component{


componentDidMount(){
const [store, task] = sagaStore({defaultProject:"holodemo"});
const [store, task] = sagaStore({projectName: "holodemo"});
this.setState({store, task});
this.onFocus(store);
this.#listeners.push(
Expand Down
14 changes: 7 additions & 7 deletions HolusionCompanion/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion HolusionCompanion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@codler/react-native-keyboard-aware-scroll-view": "^2.0.0",
"@holusion/cache-control": "^3.3.2",
"@holusion/cache-control": "^3.5.2",
"@react-native-community/checkbox": "^0.5.15",
"@react-native-community/netinfo": "^5.9.1",
"@react-native-firebase/app": "^6.3.4",
Expand Down
45 changes: 10 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,23 @@
# Usage

## Créer un nouveau projet
Voir `cache-control/` pour le code de synchronisation

Lancez la commande suivante :
Voir `HolusionCompanion/` pour le code react-native

```
npx react-native init <nom_du_projet>
cd <nom_du_projet>
```

Editer `package.json`. Dans le champ **name**, donner un nom en minuscules, pouvant comporter des tirets. Utiliser le nom de l'application dans `projectName`. Example :

```
{
"name": "egger",
"projectName":"Egger",
[...]
}
```

Ils faut copier ces fichiers au travers des différents projets :

- App.js
- index.js
- theme.js
## Integration continue

Ils sont disponibles dans `_template/`
Modifier la version de l'application dans Xcode:

(TARGET: HolusionCompanion)
Général > Identity > Version

### Installer les dépendances npm
Pas la peine de toucher au build number.

**WARNING** : Installer les dépendances en `latest` avec NPM préente un risque d'incompatibilité. ça permet d'être à jour au moment de la création de l'app mais par sécurité, on peut aussi copier-coller les versions d'une dernière version fonctionelle connue.
commit. fastlane s'occupera d'upload le build sur [Appstore Connect](https://appstoreconnect.apple.com).

```
npm i "@holusion/react-native-holusion" "@react-native-community/netinfo" "native-base" \
"@react-native-firebase/app" "@react-native-firebase/auth" "@react-native-firebase/firestore" \
"@react-native-firebase/functions" "@react-native-firebase/storage" \
"react-native-fs" "react-native-gesture-handler" "react-native-vector-icons"
"react-native-zeroconf" "react-native-device-info" \
"@react-navigation/core" "@react-navigation/native" "@react-navigation/stack" \
"react-native-screens" "@react-native-community/masked-view" "react-native-safe-area-context" "react-native-reanimated" \
"react-redux"
```
Puis utiliser l'interface pour migrer le build sur

## Notes

### Initialiser Firebase

Expand Down

0 comments on commit 0aa0c61

Please sign in to comment.