This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from simde-utc/release/v0.0.1
First release version 0.0.1
- Loading branch information
Showing
167 changed files
with
10,376 additions
and
778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Bug fix Pull Request | ||
about: Fix a bug found in develop | ||
title: '' | ||
labels: '' | ||
|
||
--- | ||
|
||
# Bug fix Pull Request template | ||
|
||
## Your checklist for this pull request | ||
|
||
- [ ] Make sure youre branch's name follows the naming convention: `fix/my-bug-fix` or `hot/my-hot-fix` if it's a hotfix. | ||
- [ ] Make sure you've run `npm run test` and corrected, if any, the reported errors. | ||
- [ ] Make sure your merging your branch into `develop`. | ||
|
||
## Description | ||
|
||
Please describe your feature here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Feature Pull Request | ||
about: Merge a new feature into develop | ||
title: '' | ||
labels: '' | ||
|
||
--- | ||
|
||
# Feature Pull Request template | ||
|
||
## Your checklist for this pull request | ||
|
||
- [ ] Make sure youre branch's name follows the naming convention: `feature/my-feature`. | ||
- [ ] Make sure you've run `npm run test` and corrected, if any, the reported errors. | ||
- [ ] Make sure your merging your branch into `develop`. | ||
|
||
## Description | ||
|
||
Please describe your feature here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Release Pull Request | ||
about: Release a new version | ||
title: '' | ||
labels: '' | ||
|
||
--- | ||
|
||
# Release Pull Request template | ||
|
||
## Your checklist for this pull request | ||
|
||
- [ ] Make sure you've run `npm run test` and corrected, if any, the reported errors. | ||
- [ ] Make sure your merging `develop` into `master`. | ||
|
||
|
||
## Description | ||
|
||
Please describe the release here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: node_js | ||
node_js: 12.6.0 | ||
|
||
before_script: | ||
- cp config.example.js config.js | ||
- npm install | ||
|
||
jobs: | ||
include: | ||
- stage: "Lint" | ||
script: npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,55 @@ | ||
/** | ||
* @author Arthur Martello <arthur.martello@etu.utc.fr> | ||
* @author Samy Nastuzzi <samy@nastuzzi.fr> | ||
* | ||
* @copyright Copyright (c) 2019, SiMDE-UTC | ||
* @license GPL-3.0 | ||
*/ | ||
|
||
import React from 'react'; | ||
import { StyleSheet, Text, View } from 'react-native'; | ||
import { StatusBar, YellowBox } from 'react-native'; | ||
import { createAppContainer, createSwitchNavigator, SafeAreaView } from 'react-navigation'; | ||
import { Provider, connect } from 'react-redux'; | ||
import SpinnerOverlay from 'react-native-loading-spinner-overlay'; | ||
import AppLoader from './src/screens/AppLoader'; | ||
import ChangelogScreen from './src/screens/Settings/ChangelogScreen'; | ||
import MainNavigator from './src/navigations/MainNavigator'; | ||
import AuthNavigator from './src/navigations/Auth/AuthNavigator'; | ||
import store from './src/redux/store'; | ||
import colors from './src/styles/colors'; | ||
|
||
const AppNavigator = createSwitchNavigator( | ||
{ | ||
Loading: AppLoader, | ||
Auth: AuthNavigator, | ||
Main: MainNavigator, | ||
Changelog: ChangelogScreen, | ||
}, | ||
{ | ||
initialRouteName: 'Loading', | ||
} | ||
); | ||
|
||
YellowBox.ignoreWarnings(['Async Storage', 'WebView']); | ||
|
||
const AppContainer = createAppContainer(AppNavigator); | ||
|
||
const paddingTop = StatusBar.currentHeight || 20; | ||
|
||
const mapStateToProps = ({ config }) => ({ config }); | ||
|
||
const ConnectedApp = connect(mapStateToProps)(({ config }) => ( | ||
<SafeAreaView style={{ flex: 1, paddingTop }} forceInset={{ bottom: 'never' }}> | ||
<StatusBar backgroundColor={colors.primary} translucent /> | ||
<SpinnerOverlay {...config.spinner} /> | ||
<AppContainer screenProps={{ config }} /> | ||
</SafeAreaView> | ||
)); | ||
|
||
export default function App() { | ||
return ( | ||
<View style={styles.container}> | ||
<Text>Open up App.js to start working on your app!</Text> | ||
</View> | ||
); | ||
return ( | ||
<Provider store={store}> | ||
<ConnectedApp /> | ||
</Provider> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: '#fff', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Changelog | ||
|
||
Changelogs are under a json format in `src/changelogs`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,36 @@ | ||
# payutc-mobile | ||
Application mobile PayUTC | ||
# Payutc-mobile | ||
PayUTC mobile Application | ||
|
||
# Cahier des charges | ||
## Specifications | ||
|
||
Le cahier des charges est défini dans le fichier `SPECIFICATIONS.md` | ||
Specifications are defined in `SPECIFICATIONS.md` | ||
|
||
# Installation | ||
## Installation | ||
|
||
- Installer expo-cli avec la commande: `npm install -g expo-cli` | ||
- Installer le projet: `npm i` | ||
- Install expo-cli with the following command: `npm install -g expo-cli` | ||
- Installer JS dependecies: `npm i` | ||
|
||
# Lancement de l'application | ||
## Application run | ||
|
||
- Lancement d'expo pour Android: `npm run android` | ||
- Lancement d'expo pour iOS: `npm run ios` | ||
- Run expo for Android: `npm run android` | ||
- Run expo for iOS: `npm run ios` | ||
|
||
## Application build | ||
### iOS | ||
- iOS build requires Xcode. In order to use Xcode, you should update your pods using theses commands: | ||
* `cd ios` | ||
* `pod install` | ||
- And then, open `PayUTC.xcworkspace` in Xcode and build the app. | ||
|
||
## Develop | ||
|
||
- We use the workflow `gitflow` as described [here](https://nvie.com/files/Git-branching-model.pdf) but without the `release` branch. It means: | ||
* All Pull Requests (PR) are merged into the branch `develop`. | ||
* From `develop` we release versions on `master`. | ||
* The branches are named as following: | ||
* `feature/<issue shortname>` for enhancements. | ||
* `fix/<issue shortname>` for bug fixes. | ||
* `hot/<issue shortname>` for hot bug fixes (Ex: bug affecting security on production). | ||
- Respect the JS linter. | ||
- Before pushing your code run `npm run test`. The linter will check the code and the tests we built will run. Correct possible errors and push. | ||
- Finally don't hesitate to ask questions and enjoy! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>PayUTC</name> | ||
<comment>Project android created by Buildship.</comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.buildship.core.gradleprojectbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
connection.project.dir= | ||
eclipse.preferences.version=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module external.linked.project.id="PayUTC" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="java-gradle" name="Java-Gradle"> | ||
<configuration> | ||
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" /> | ||
<option name="BUILDABLE" value="false" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<excludeFolder url="file://$MODULE_DIR$/.gradle" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="JDK" jdkType="JavaSDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/> | ||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/> | ||
<classpathentry kind="output" path="bin/default"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>app</name> | ||
<comment>Project app created by Buildship.</comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.buildship.core.gradleprojectbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
<nature>org.eclipse.buildship.core.gradleprojectnature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
connection.project.dir=.. | ||
eclipse.preferences.version=1 |
Oops, something went wrong.