Changed icons and app name
17
app.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "COFFEE",
|
"name": "CAMPUS - Amicale INSAT",
|
||||||
"description": "Application mobile compatible Android et iOS pour l'Amicale INSA Toulouse. Grâce à cette application, vous avez facilement accès aux news du campus, aux emplois du temps, à l'état de la laverie, et bien d'autres services ! Ceci est une version Beta, Toutes les fonctionnalités ne sont pas encore implémentées, et il est possible de rencontrer quelques bugs.",
|
"description": "Application mobile compatible Android et iOS pour l'Amicale INSA Toulouse. Grâce à cette application, vous avez facilement accès aux news du campus, aux emplois du temps, à l'état de la laverie, et bien d'autres services ! Ceci est une version Beta, Toutes les fonctionnalités ne sont pas encore implémentées, et il est possible de rencontrer quelques bugs.",
|
||||||
"slug": "application-amicale",
|
"slug": "application-amicale",
|
||||||
"privacy": "public",
|
"privacy": "public",
|
||||||
|
@ -10,18 +10,18 @@
|
||||||
"android",
|
"android",
|
||||||
"web"
|
"web"
|
||||||
],
|
],
|
||||||
"version": "0.0.8",
|
"version": "0.0.9",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"primaryColor": "#be1522",
|
"primaryColor": "#be1522",
|
||||||
"icon": "./assets/android.icon.png",
|
"icon": "./assets/android.icon.png",
|
||||||
"splash": {
|
"splash": {
|
||||||
"backgroundColor": "#222222",
|
"backgroundColor": "#be1522",
|
||||||
"resizeMode": "contain",
|
"resizeMode": "contain",
|
||||||
"image": "./assets/splash.png"
|
"image": "./assets/splash.png"
|
||||||
},
|
},
|
||||||
"notification": {
|
"notification": {
|
||||||
"icon": "./assets/amicale-notification.png",
|
"icon": "./assets/icon-notification.png",
|
||||||
"color": "#e42612",
|
"color": "#be1522",
|
||||||
"androidMode": "default"
|
"androidMode": "default"
|
||||||
},
|
},
|
||||||
"updates": {
|
"updates": {
|
||||||
|
@ -31,17 +31,16 @@
|
||||||
"**/*"
|
"**/*"
|
||||||
],
|
],
|
||||||
"ios": {
|
"ios": {
|
||||||
"bundleIdentifier": "amicale.insat.application",
|
"bundleIdentifier": "fr.amicaleinsat.application",
|
||||||
"buildNumber": "0.0.6",
|
|
||||||
"icon": "./assets/ios.icon.png"
|
"icon": "./assets/ios.icon.png"
|
||||||
},
|
},
|
||||||
"android": {
|
"android": {
|
||||||
"package": "amicale.insat.application",
|
"package": "fr.amicaleinsat.application",
|
||||||
"versionCode": 1,
|
"versionCode": 1,
|
||||||
"icon": "./assets/android.icon.png",
|
"icon": "./assets/android.icon.png",
|
||||||
"adaptiveIcon": {
|
"adaptiveIcon": {
|
||||||
"foregroundImage": "./assets/android.adaptive-icon.png",
|
"foregroundImage": "./assets/android.adaptive-icon.png",
|
||||||
"backgroundColor": "#ffffff"
|
"backgroundColor": "#be1522"
|
||||||
},
|
},
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"VIBRATE"
|
"VIBRATE"
|
||||||
|
|
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 161 KiB |
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 76 KiB |
BIN
assets/icon-notification.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
assets/icon.png
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 216 KiB |
|
@ -18,8 +18,9 @@ const styles = StyleSheet.create({
|
||||||
paddingBottom: 100
|
paddingBottom: 100
|
||||||
},
|
},
|
||||||
image: {
|
image: {
|
||||||
width: 200,
|
width: 300,
|
||||||
height: 200,
|
height: 300,
|
||||||
|
marginBottom: -50,
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
color: 'rgba(255, 255, 255, 0.8)',
|
color: 'rgba(255, 255, 255, 0.8)',
|
||||||
|
@ -51,7 +52,7 @@ export default class CustomIntroSlider extends React.Component<Props> {
|
||||||
key: '1',
|
key: '1',
|
||||||
title: i18n.t('intro.slide1.title'),
|
title: i18n.t('intro.slide1.title'),
|
||||||
text: i18n.t('intro.slide1.text'),
|
text: i18n.t('intro.slide1.text'),
|
||||||
image: require('../assets/drawer-cover.png'),
|
image: require('../assets/splash.png'),
|
||||||
colors: ['#e01928', '#be1522'],
|
colors: ['#e01928', '#be1522'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,7 +10,7 @@ import CustomMaterialIcon from "../components/CustomMaterialIcon";
|
||||||
import ThemeManager from "../utils/ThemeManager";
|
import ThemeManager from "../utils/ThemeManager";
|
||||||
|
|
||||||
const TAB_ICONS = {
|
const TAB_ICONS = {
|
||||||
Home: 'coffee',
|
Home: 'triangle',
|
||||||
Planning: 'calendar-range',
|
Planning: 'calendar-range',
|
||||||
Proxiwash: 'washing-machine',
|
Proxiwash: 'washing-machine',
|
||||||
Proximo: 'shopping',
|
Proximo: 'shopping',
|
||||||
|
|
|
@ -10,16 +10,16 @@
|
||||||
},
|
},
|
||||||
"intro": {
|
"intro": {
|
||||||
"slide1": {
|
"slide1": {
|
||||||
"title": "Welcome to COFFEE",
|
"title": "Welcome to CAMPUS",
|
||||||
"text": "The new app to use during your coffee break to get updates on the campus life!"
|
"text": "The new app to use during your coffee break to get updates on the campus life!"
|
||||||
},
|
},
|
||||||
"slide2": {
|
"slide2": {
|
||||||
"title": "Stay up to date",
|
"title": "Stay up to date",
|
||||||
"text": "COFFEE will soon allow you to be aware of any event occuring on the campus, from pancake sales to Enfoiros concerts!"
|
"text": "CAMPUS will soon allow you to be aware of any event occuring on the campus, from pancake sales to Enfoiros concerts!"
|
||||||
},
|
},
|
||||||
"slide3": {
|
"slide3": {
|
||||||
"title": "Never forget your laundry",
|
"title": "Never forget your laundry",
|
||||||
"text": "COFFEE will inform you on the availability of washing machines and will remind you just before yours finishes !"
|
"text": "CAMPUS will inform you on the availability of washing machines and will remind you just before yours finishes !"
|
||||||
},
|
},
|
||||||
"slide4": {
|
"slide4": {
|
||||||
"title": "Proximo",
|
"title": "Proximo",
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
},
|
},
|
||||||
"slide5": {
|
"slide5": {
|
||||||
"title": "Planex",
|
"title": "Planex",
|
||||||
"text": "Lookup your timetable on COFFE"
|
"text": "Lookup your timetable on CAMPUS"
|
||||||
},
|
},
|
||||||
"slide6": {
|
"slide6": {
|
||||||
"title": "Still in development",
|
"title": "Still in development",
|
||||||
|
|
|
@ -10,16 +10,16 @@
|
||||||
},
|
},
|
||||||
"intro": {
|
"intro": {
|
||||||
"slide1": {
|
"slide1": {
|
||||||
"title": "Bienvenue sur COFFEE",
|
"title": "Bienvenue sur CAMPUS",
|
||||||
"text": "La nouvelle app à consulter pendant la pause café pour être au courant de la vie du campus !"
|
"text": "La nouvelle app à consulter pendant la pause café pour être au courant de la vie du campus !"
|
||||||
},
|
},
|
||||||
"slide2": {
|
"slide2": {
|
||||||
"title": "Restez informés",
|
"title": "Restez informés",
|
||||||
"text": "COFFEE vous permettra bientôt d'être au courant de tous les événements qui ont lieu sur le campus, de la vente de crêpes jusqu'aux concerts enfoiros !"
|
"text": "CAMPUS vous permettra bientôt d'être au courant de tous les événements qui ont lieu sur le campus, de la vente de crêpes jusqu'aux concerts enfoiros !"
|
||||||
},
|
},
|
||||||
"slide3": {
|
"slide3": {
|
||||||
"title": "N'oubliez plus votre linge !",
|
"title": "N'oubliez plus votre linge !",
|
||||||
"text": "COFFEE vous informe de la disponibilité des machines et vous permet d'être notifiés lorsque la vôtre se termine bientôt !"
|
"text": "CAMPUS vous informe de la disponibilité des machines et vous permet d'être notifiés lorsque la vôtre se termine bientôt !"
|
||||||
},
|
},
|
||||||
"slide4": {
|
"slide4": {
|
||||||
"title": "Proximo",
|
"title": "Proximo",
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
},
|
},
|
||||||
"slide5": {
|
"slide5": {
|
||||||
"title": "Planex",
|
"title": "Planex",
|
||||||
"text": "Consultez votre emploi du temps sur COFFEE"
|
"text": "Consultez votre emploi du temps sur CAMPUS"
|
||||||
},
|
},
|
||||||
"slide6": {
|
"slide6": {
|
||||||
"title": "Toujours en développement",
|
"title": "Toujours en développement",
|
||||||
|
|
|
@ -93,7 +93,7 @@ export default class NotificationsManager {
|
||||||
*/
|
*/
|
||||||
static async initExpoToken() {
|
static async initExpoToken() {
|
||||||
let token = AsyncStorageManager.getInstance().preferences.expoToken.current;
|
let token = AsyncStorageManager.getInstance().preferences.expoToken.current;
|
||||||
if (AsyncStorageManager.getInstance().preferences.expoToken.current === '') {
|
if (token === '') {
|
||||||
let expoToken = await Notifications.getExpoPushTokenAsync();
|
let expoToken = await Notifications.getExpoPushTokenAsync();
|
||||||
// Save token for instant use later on
|
// Save token for instant use later on
|
||||||
AsyncStorageManager.getInstance().savePref(AsyncStorageManager.getInstance().preferences.expoToken.key, expoToken);
|
AsyncStorageManager.getInstance().savePref(AsyncStorageManager.getInstance().preferences.expoToken.key, expoToken);
|
||||||
|
|