1
0
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:
Zhiyuan Zheng
2021-03-12 00:19:45 +01:00
parent edcd86cba7
commit cca0ca7032
5 changed files with 18 additions and 6 deletions

View File

@ -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
})
}

View File

@ -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') {

View File

@ -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') {