1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

iOS can run

This commit is contained in:
Zhiyuan Zheng
2021-01-28 00:41:53 +01:00
parent 6c6d563aae
commit ea3fa87057
86 changed files with 3384 additions and 35 deletions

View File

@ -6,7 +6,10 @@ import { useQuery, UseQueryOptions } from 'react-query'
export type QueryKey = ['Apps', { instanceDomain?: string }]
const queryFunction = ({ queryKey }: { queryKey: QueryKey }) => {
const redirectUri = AuthSession.makeRedirectUri({ useProxy: false })
const redirectUri = AuthSession.makeRedirectUri({
native: 'tooot://instance-auth',
useProxy: false
})
const { instanceDomain } = queryKey[1]