mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Capture push control error
This commit is contained in:
@ -29,7 +29,8 @@ const register1 = async ({
|
||||
method: 'post',
|
||||
domain: PUSH_SERVER,
|
||||
url: 'v1/register1',
|
||||
body: { expoToken, instanceUrl, accountId, accountFull }
|
||||
body: { expoToken, instanceUrl, accountId, accountFull },
|
||||
sentry: true
|
||||
})
|
||||
}
|
||||
|
||||
@ -50,7 +51,8 @@ const register2 = async ({
|
||||
method: 'post',
|
||||
domain: PUSH_SERVER,
|
||||
url: 'v1/register2',
|
||||
body: { expoToken, instanceUrl, accountId, serverKey, removeKeys }
|
||||
body: { expoToken, instanceUrl, accountId, serverKey, removeKeys },
|
||||
sentry: true
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,8 @@ const pushUnregister = async (state: RootState, expoToken: string) => {
|
||||
expoToken,
|
||||
instanceUrl: instance.url,
|
||||
accountId: instance.account.id
|
||||
}
|
||||
},
|
||||
sentry: true
|
||||
})
|
||||
|
||||
if (Platform.OS === 'android') {
|
||||
|
@ -34,7 +34,8 @@ export const updateInstancePushDecode = createAsyncThunk(
|
||||
instanceUrl: instance.url,
|
||||
accountId: instance.account.id,
|
||||
...(disable && { keys: instance.push.keys })
|
||||
}
|
||||
},
|
||||
sentry: true
|
||||
})
|
||||
|
||||
if (Platform.OS === 'android') {
|
||||
|
Reference in New Issue
Block a user