Skip to content

Commit 9b6646b

Browse files
committed
app.json fix for push notis, added a service worker for notis
1 parent 503146d commit 9b6646b

3 files changed

Lines changed: 193 additions & 37 deletions

File tree

KonditionExpo/app.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,13 @@
88
"scheme": "konditionexpo",
99
"userInterfaceStyle": "automatic",
1010
"newArchEnabled": true,
11+
"notification": {
12+
"vapidPublicKey": "BHIYUSgOOx7MC1EXPT5HSZ6snrLWCe4uV2tloytm3uB8rZtTiNl5234SLOWPzdBa8TcIr1CubVkh_8jXipesK8E",
13+
"serviceWorkerPath": "service-worker.js"
14+
},
1115
"ios": {
1216
"supportsTablet": true
1317
},
14-
"plugins": [
15-
[
16-
"expo-notifications",
17-
{
18-
"icon": "./assets/images/bell.png",
19-
"color": "#ffffff"
20-
}
21-
]
22-
],
2318
"android": {
2419
"adaptiveIcon": {
2520
"foregroundImage": "./assets/images/adaptive-icon.png",
@@ -42,6 +37,13 @@
4237
"resizeMode": "contain",
4338
"backgroundColor": "#ffffff"
4439
}
40+
],
41+
[
42+
"expo-notifications",
43+
{
44+
"icon": "./assets/images/bell.png",
45+
"color": "#ffffff"
46+
}
4547
]
4648
],
4749
"experiments": {

0 commit comments

Comments
 (0)