identify fcm system

This commit is contained in:
feruz 2020-07-19 22:18:26 +03:00
parent ee792b139e
commit 86da20becb
3 changed files with 3 additions and 3 deletions

View File

@ -627,7 +627,7 @@ class ApplicationContainer extends Component {
setPushToken({
username,
token,
system: Platform.OS,
system: `fcm-${Platform.OS}`,
allows_notify: Number(isEnable),
notify_types: [1, 2, 3, 4, 5, 6],
});

View File

@ -115,7 +115,7 @@ class LoginContainer extends PureComponent {
const data = {
username,
token,
system: Platform.OS,
system: `fcm-${Platform.OS}`,
allows_notify: Number(notificationSettings),
notify_types: notifyTypes,
};

View File

@ -321,7 +321,7 @@ class SettingsContainer extends Component {
const data = {
username: item.username,
token,
system: Platform.OS,
system: `fcm-${Platform.OS}`,
allows_notify: Number(isNotificationSettingsOpen),
notify_types: notifyTypes,
};