log even on signup
This commit is contained in:
@@ -56,6 +56,10 @@ export type LogEvents = {
|
|||||||
'onboarding:finished:nextPressed': {}
|
'onboarding:finished:nextPressed': {}
|
||||||
'onboarding:finished:avatarResult': {
|
'onboarding:finished:avatarResult': {
|
||||||
avatarResult: 'default' | 'created' | 'uploaded'
|
avatarResult: 'default' | 'created' | 'uploaded'
|
||||||
|
usedStarterPack: boolean
|
||||||
|
starterPackName?: string
|
||||||
|
starterPackCreator?: string
|
||||||
|
starterPackUri?: string
|
||||||
}
|
}
|
||||||
'home:feedDisplayed:sampled': {
|
'home:feedDisplayed:sampled': {
|
||||||
feedUrl: string
|
feedUrl: string
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {View} from 'react-native'
|
import {View} from 'react-native'
|
||||||
import {AppBskyGraphDefs, AtUri} from '@atproto/api'
|
import {AppBskyGraphDefs, AppBskyGraphStarterpack, AtUri} from '@atproto/api'
|
||||||
import {msg, Trans} from '@lingui/macro'
|
import {msg, Trans} from '@lingui/macro'
|
||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
import {useQueryClient} from '@tanstack/react-query'
|
import {useQueryClient} from '@tanstack/react-query'
|
||||||
@@ -122,6 +122,14 @@ export function StepFinished() {
|
|||||||
: profileStepResults.image
|
: profileStepResults.image
|
||||||
? 'uploaded'
|
? 'uploaded'
|
||||||
: 'default',
|
: 'default',
|
||||||
|
usedStarterPack: Boolean(starterPack),
|
||||||
|
starterPackName: AppBskyGraphStarterpack.isRecord(
|
||||||
|
starterPack?.record,
|
||||||
|
)
|
||||||
|
? starterPack.record.name
|
||||||
|
: undefined,
|
||||||
|
starterPackCreator: starterPack?.creator.did,
|
||||||
|
starterPackUri: starterPack?.uri,
|
||||||
})
|
})
|
||||||
})(),
|
})(),
|
||||||
requestNotificationsPermission('AfterOnboarding'),
|
requestNotificationsPermission('AfterOnboarding'),
|
||||||
|
|||||||
Reference in New Issue
Block a user