Skip to content

Commit 32ac3ac

Browse files
authored
Merge pull request #323 from Manuito83/develop
Merge for v3.8.2 release
2 parents 08c668d + deb4af4 commit 32ac3ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+3589
-2067
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ if (localPropertiesFile.exists()) {
1616

1717
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1818
if (flutterVersionCode == null) {
19-
flutterVersionCode = '542'
19+
flutterVersionCode = '550'
2020
}
2121

2222
def flutterVersionName = localProperties.getProperty('flutter.versionName')
2323
if (flutterVersionName == null) {
24-
flutterVersionName = '3.8.1'
24+
flutterVersionName = '3.8.2'
2525
}
2626

2727
def keystoreProperties = new Properties()

cloud_functions/README.md

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
# DEBUG commands
2+
3+
```
4+
npm run watch
5+
firebase emulators:start --only functions
6+
firebase functions:shell
7+
firebase deploy --only functions
8+
```
9+
10+
</br></br>
11+
12+
# Live Activities
13+
14+
Note 1: remember token production true/false if testing LA in la_apns_helper
15+
Note 2: LA can be tested directly with liveActivities.sendTestTravelPushToManuito()
16+
Note 3: change these to false in la_apns_helper.ts
17+
18+
```
19+
production: false,
20+
ejectUnauthorized: false,
21+
```
22+
23+
</br></br>
24+
25+
# Test functions: RUN FOR USER
26+
27+
### Default (Manuito)
28+
29+
```
30+
curl -X POST http://127.0.0.1:5002/torn-pda-manuito/us-east4/alertsTest-runForUser \
31+
-H "Content-Type: application/json" \
32+
-d '{"data": {}}'
33+
```
34+
35+
Shell:
36+
37+
```
38+
alertsTest.runForUser({})
39+
```
40+
41+
### DOther user
42+
43+
```
44+
# Ejecutar para un usuario específico (ej. "Kwack")
45+
curl -X POST http://127.0.0.1:5002/torn-pda-manuito/us-east4/alertsTest-runForUser \
46+
-H "Content-Type: application/json" \
47+
-d '{"data": {"userName": "Kwack"}}'
48+
```
49+
50+
Shell:
51+
52+
```
53+
alertsTest.runForUser({userName: "Kwack"})
54+
```
55+
56+
</br></br>
57+
58+
# Test functions: TEST NOTIFICATION
59+
60+
### Default (Manuito)
61+
62+
```
63+
curl -X POST http://127.0.0.1:5002/torn-pda-manuito/us-east4/alertsTest-sendTestNotification \
64+
-H "Content-Type: application/json" \
65+
-d '{"data": {}}'
66+
```
67+
68+
Shell:
69+
70+
```
71+
alertsTest.sendTestNotification({})
72+
```
73+
74+
# Other user
75+
76+
```
77+
curl -X POST http://127.0.0.1:5002/torn-pda-manuito/us-east4/alertsTest-sendTestNotification \
78+
-H "Content-Type: application/json" \
79+
-d '{"data": {"userName": "Kwack"}}'
80+
```
81+
82+
Shell:
83+
84+
```
85+
alertsTest.sendTestNotification({userName: "Kwack"})
86+
```
87+
88+
</br></br>
89+
90+
# Test functions: MASSIVE NOTIFICATION
91+
92+
### Default (Manuito)
93+
94+
# Other user
95+
96+
**CHANGE 'const active'**
97+
98+
**CHANGE NOTIFICATION PARAMS!**
99+
100+
```
101+
curl -X POST http://127.0.0.1:5002/torn-pda-manuito/us-east4/alertsTest-sendMassNotification \
102+
-H "Content-Type: application/json" \
103+
-d '{"data": {}}'
104+
```
105+
106+
Shell:
107+
108+
```
109+
alertsTest.sendMassNotification({})
110+
```

cloud_functions/README.me

Lines changed: 0 additions & 6 deletions
This file was deleted.

cloud_functions/functions/package-lock.json

Lines changed: 116 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cloud_functions/functions/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
},
1616
"main": "lib/index.js",
1717
"dependencies": {
18+
"@parse/node-apn": "^6.5.0",
19+
"axios": "^1.9.0",
1820
"firebase": "^10.10.0",
1921
"firebase-admin": "^12.0.0",
2022
"firebase-functions": "^4.9.0",

0 commit comments

Comments
 (0)