mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 09:13:33 +03:00
identify fcm system
This commit is contained in:
parent
ee792b139e
commit
86da20becb
@ -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],
|
||||
});
|
||||
|
@ -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,
|
||||
};
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user