Browse Source

Changed icons and app name

keplyx 4 years ago
parent
commit
f6c1b2ea8f

+ 8
- 9
app.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "expo": {
3
-    "name": "COFFEE",
3
+    "name": "CAMPUS - Amicale INSAT",
4 4
     "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.",
5 5
     "slug": "application-amicale",
6 6
     "privacy": "public",
@@ -10,18 +10,18 @@
10 10
       "android",
11 11
       "web"
12 12
     ],
13
-    "version": "0.0.8",
13
+    "version": "0.0.9",
14 14
     "orientation": "portrait",
15 15
     "primaryColor": "#be1522",
16 16
     "icon": "./assets/android.icon.png",
17 17
     "splash": {
18
-      "backgroundColor": "#222222",
18
+      "backgroundColor": "#be1522",
19 19
       "resizeMode": "contain",
20 20
       "image": "./assets/splash.png"
21 21
     },
22 22
     "notification": {
23
-      "icon": "./assets/amicale-notification.png",
24
-      "color": "#e42612",
23
+      "icon": "./assets/icon-notification.png",
24
+      "color": "#be1522",
25 25
       "androidMode": "default"
26 26
     },
27 27
     "updates": {
@@ -31,17 +31,16 @@
31 31
       "**/*"
32 32
     ],
33 33
     "ios": {
34
-      "bundleIdentifier": "amicale.insat.application",
35
-      "buildNumber": "0.0.6",
34
+      "bundleIdentifier": "fr.amicaleinsat.application",
36 35
       "icon": "./assets/ios.icon.png"
37 36
     },
38 37
     "android": {
39
-      "package": "amicale.insat.application",
38
+      "package": "fr.amicaleinsat.application",
40 39
       "versionCode": 1,
41 40
       "icon": "./assets/android.icon.png",
42 41
       "adaptiveIcon": {
43 42
         "foregroundImage": "./assets/android.adaptive-icon.png",
44
-        "backgroundColor": "#ffffff"
43
+        "backgroundColor": "#be1522"
45 44
       },
46 45
       "permissions": [
47 46
         "VIBRATE"

BIN
assets/amicale-notification.png View File


BIN
assets/android.adaptive-icon.png View File


BIN
assets/android.icon.png View File


BIN
assets/drawer-cover.png View File


BIN
assets/icon-notification.png View File


BIN
assets/icon.png View File


BIN
assets/ios.icon.png View File


BIN
assets/splash.png View File


+ 4
- 3
components/CustomIntroSlider.js View File

@@ -18,8 +18,9 @@ const styles = StyleSheet.create({
18 18
         paddingBottom: 100
19 19
     },
20 20
     image: {
21
-        width: 200,
22
-        height: 200,
21
+        width: 300,
22
+        height: 300,
23
+        marginBottom: -50,
23 24
     },
24 25
     text: {
25 26
         color: 'rgba(255, 255, 255, 0.8)',
@@ -51,7 +52,7 @@ export default class CustomIntroSlider extends React.Component<Props> {
51 52
                 key: '1',
52 53
                 title: i18n.t('intro.slide1.title'),
53 54
                 text: i18n.t('intro.slide1.text'),
54
-                image: require('../assets/drawer-cover.png'),
55
+                image: require('../assets/splash.png'),
55 56
                 colors: ['#e01928', '#be1522'],
56 57
             },
57 58
             {

+ 1
- 1
navigation/MainTabNavigator.js View File

@@ -10,7 +10,7 @@ import CustomMaterialIcon from "../components/CustomMaterialIcon";
10 10
 import ThemeManager from "../utils/ThemeManager";
11 11
 
12 12
 const TAB_ICONS = {
13
-    Home: 'coffee',
13
+    Home: 'triangle',
14 14
     Planning: 'calendar-range',
15 15
     Proxiwash: 'washing-machine',
16 16
     Proximo: 'shopping',

+ 4
- 4
translations/en.json View File

@@ -10,16 +10,16 @@
10 10
   },
11 11
   "intro": {
12 12
     "slide1": {
13
-      "title": "Welcome to COFFEE",
13
+      "title": "Welcome to CAMPUS",
14 14
       "text": "The new app to use during your coffee break to get updates on the campus life!"
15 15
     },
16 16
     "slide2": {
17 17
       "title": "Stay up to date",
18
-      "text": "COFFEE will soon allow you to be aware of any event occuring on the campus, from pancake sales to Enfoiros concerts!"
18
+      "text": "CAMPUS will soon allow you to be aware of any event occuring on the campus, from pancake sales to Enfoiros concerts!"
19 19
     },
20 20
     "slide3": {
21 21
       "title": "Never forget your laundry",
22
-      "text": "COFFEE will inform you on the availability of washing machines and will remind you just before yours finishes !"
22
+      "text": "CAMPUS will inform you on the availability of washing machines and will remind you just before yours finishes !"
23 23
     },
24 24
     "slide4": {
25 25
       "title": "Proximo",
@@ -27,7 +27,7 @@
27 27
     },
28 28
     "slide5": {
29 29
       "title": "Planex",
30
-      "text": "Lookup your timetable on COFFE"
30
+      "text": "Lookup your timetable on CAMPUS"
31 31
     },
32 32
     "slide6": {
33 33
       "title": "Still in development",

+ 4
- 4
translations/fr.json View File

@@ -10,16 +10,16 @@
10 10
   },
11 11
   "intro": {
12 12
     "slide1": {
13
-      "title": "Bienvenue sur COFFEE",
13
+      "title": "Bienvenue sur CAMPUS",
14 14
       "text": "La nouvelle app à consulter pendant la pause café pour être au courant de la vie du campus !"
15 15
     },
16 16
     "slide2": {
17 17
       "title": "Restez informés",
18
-      "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 !"
18
+      "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 !"
19 19
     },
20 20
     "slide3": {
21 21
       "title": "N'oubliez plus votre linge !",
22
-      "text": "COFFEE vous informe de la disponibilité des machines et vous permet d'être notifiés lorsque la vôtre se termine bientôt !"
22
+      "text": "CAMPUS vous informe de la disponibilité des machines et vous permet d'être notifiés lorsque la vôtre se termine bientôt !"
23 23
     },
24 24
     "slide4": {
25 25
       "title": "Proximo",
@@ -27,7 +27,7 @@
27 27
     },
28 28
     "slide5": {
29 29
       "title": "Planex",
30
-      "text": "Consultez votre emploi du temps sur COFFEE"
30
+      "text": "Consultez votre emploi du temps sur CAMPUS"
31 31
     },
32 32
     "slide6": {
33 33
       "title": "Toujours en développement",

+ 1
- 1
utils/NotificationsManager.js View File

@@ -93,7 +93,7 @@ export default class NotificationsManager {
93 93
      */
94 94
     static async initExpoToken() {
95 95
         let token = AsyncStorageManager.getInstance().preferences.expoToken.current;
96
-        if (AsyncStorageManager.getInstance().preferences.expoToken.current === '') {
96
+        if (token === '') {
97 97
             let expoToken = await Notifications.getExpoPushTokenAsync();
98 98
             // Save token for instant use later on
99 99
             AsyncStorageManager.getInstance().savePref(AsyncStorageManager.getInstance().preferences.expoToken.key, expoToken);

Loading…
Cancel
Save