You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds interface for localized push notifications (#769)
* Adds interface for localized push notifications
- This is somewhat different from parse.com and probably more efficient
* Fix lint issues
* nits
* nit
* fixes compile issues
* cache node_modules
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
* Fix: Updating array of Dates now keeps it's type (was changing to array of ISO strings, issue #590), thanks to [David Riha](https://github.com/rihadavid)
7
7
* Fix: NaN displayed when filter input is empty or negative number (#749), thanks to [Miguel Serrrano](https://github.com/miguel-s)
8
8
* Fix: Addresses issue related to displaying iOS alert object containing title and body keys (#539), thanks to [Robert Martin del Campo](https://github.com/repertus)
9
+
* Feature: Adds support for localized push notifications if server version is high enough, thanks to [Florent Vilmart](https://github.com/flovilmart)
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -359,6 +359,27 @@ You can give read only access to a user on a per-app basis:
359
359
360
360
With this configuration, user1 will have read only access to `myAppId1` and read/write access to `myAppId2`.
361
361
362
+
## Configuring Localized Push Notifications
363
+
364
+
With the latest version of the [dashboard](https://www.npmjs.com/package/parse-dashboard), it is possible to send localized messages for push notifications.
365
+
You can provide a list of locales or languages you want to support for your dashboard users.
366
+
367
+
```json
368
+
{
369
+
"apps": [
370
+
{
371
+
"serverURL": "http://localhost:1337/parse",
372
+
"appId": "myAppId",
373
+
"masterKey": "myMasterKey",
374
+
"appName": "My Parse Server App",
375
+
"iconName": "MyAppIcon.png",
376
+
"supportedPushLocales": ["en", "ru", "fr"]
377
+
}
378
+
],
379
+
"iconsFolder": "icons"
380
+
}
381
+
```
382
+
362
383
## Run with Docker
363
384
364
385
It is easy to use it with Docker. First build the image:
<span>In some cases a locale may not be available for a user, either because they are running an earlier version of the SDK or their client has sent up an invalid locale. In those cases, they will receive the default message.</span>
0 commit comments