-
Notifications
You must be signed in to change notification settings - Fork 8
TryRecoverSessionAsync and GetNativeTokenBalance #264
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
base: master
Are you sure you want to change the base?
Conversation
Deploying sequence-unity with
|
Latest commit: |
dd56447
|
Status: | ✅ Deploy successful! |
Preview URL: | https://57ee460c.sequence-unity.pages.dev |
Branch Preview URL: | https://recoversessionasync.sequence-unity.pages.dev |
@@ -20,41 +21,19 @@ public class BoilerplateController : MonoBehaviour | |||
[Header("Components")] | |||
[SerializeField] private GameObject _featureSelection; | |||
|
|||
private IWallet _wallet; | |||
private SequenceWallet _wallet; |
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.
Why?
if (wallet != null) | ||
return; | ||
|
||
Debug.LogError("Failed to recover session. Please login."); |
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.
This code will log an error if secure storage (and session recovery) is disabled - that's a bit confusing in my opinion. Maybe you could pass an onFailure action (or similar) to the task that will log the error instead?
Version Increment
Please ensure you have incremented the package version in the package.json as necessary.
Docs Checklist
Please ensure you have addressed documentation updates if needed as part of this PR: