How to prompt sign-in from the user? #2234
Unanswered
mj-schmitz
asked this question in
Q&A
Replies: 1 comment
-
take a look at |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on creating a restore button within the app. I have the restore button get the purchases of the user, using getAvailablePurchases(), however this of course is an empty array when the user is not signed in when they get to the subscription screen.
How can I trigger the user to sign in in this case? It seems the only function when using useIAP context is the requestSubscription method. Any ideas on how to trigger the user to sign in within the following function:
Beta Was this translation helpful? Give feedback.
All reactions