-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return a promise for getReferrerInfoAsync
on web
#4777
Conversation
Your Render PR Server URL is https://social-app-pr-4777.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cq89d3mehbks739799ig. |
|
@@ -8,27 +8,29 @@ export function getGooglePlayReferrerInfoAsync(): Promise<GooglePlayReferrerInfo | |||
} | |||
|
|||
export function getReferrerInfoAsync(): Promise<ReferrerInfo | null> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alternatively i think we can mark this as async?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok but i think making the function async
is simpler
lol...yea long day 🙃 |
Why
Forgot to actually return a promise here. We use a promise because that matches the way it works on native.
Test Plan
The app will actually load now (main.bsky.dev ftw, thanks @mary-ext for catching it really fast! ❤️)