Files
bsky-social-app/modules/expo-google-play-referrer/src/ExpoGooglePlayReferrerModule.ts
T
Hailey 81cd1e0f2a [🏁 #8] Play Store referrer (#4361)
* add new module for referrer api

* add dependency

* rm boiler

* return the result

* end connection when finished

* add js types
2024-06-04 13:20:39 -07:00

12 lines
399 B
TypeScript

import {
ExpoGooglePlayReferrerModule,
GooglePlayReferrerInfo,
} from './ExpoGooglePlayReferrer.types'
export const GooglePlayReferrerModule = {
getReferrerInfoAsync(): Promise<GooglePlayReferrerInfo> {
console.error('getReferrerInfoAsync is only available on Android')
return Promise.reject('getReferrerInfoAsync is only available on Android')
},
} as ExpoGooglePlayReferrerModule