-
Notifications
You must be signed in to change notification settings - Fork 5
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
v1.3.0 #9
v1.3.0 #9
Conversation
dirtycajunrice
commented
Sep 21, 2024
- Expose SecretKey->ClientID function from rust and update rust libs
- Create and send analytics for connect, with opt out in settings
- Hide OAuthBrowserWidget from editor and Enhance OAuthBrowserUserWidget with events for custom OAuth UI Scenarios
- Fix White-screen OAuth Scenario in Examples
- Add Custom OAuth Browser Overlay example with Circular Throbber and Back button
- Set world override on Level_Thirdweb for GameMode to help new devs
- Set EditiorCustomVirtualPath on plugin to help data segregation
- Expose FWalletHandle to external access in C++
- Add various helper functions
* Update rust libs * Create and send analytics for connect * Add opt out settings for analytics * various helper functions * Hide slate oauth browser from editor * Enhance oauth browser widget with events for custom oauth solutions
Request->SetHeader("Content-Type", "application/json"); | ||
Request->SetHeader("x-sdk-name", "UnrealEngineSDK"); | ||
Request->SetHeader("x-sdk-os", UGameplayStatics::GetPlatformName()); | ||
Request->SetHeader("x-sdk-platform", "UnrealEngine"); |
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.
just "unreal-engine" here
@@ -62,7 +63,8 @@ bool FWalletHandle::CreateInAppEmailWallet(const FString& Email, FWalletHandle& | |||
nullptr | |||
).AssignResult(Error)) | |||
{ | |||
Wallet = FWalletHandle(FWalletHandle::InApp, Error); | |||
Wallet = FWalletHandle(InApp, Error); | |||
FThirdwebAnalytics::SendConnectEvent(Wallet.ToAddress(), Wallet.GetTypeString()); |
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.
Since we need wallet address will have to wait for it to be actually connected, and it's not always connected upon creation, unlike privatekeywallet/smartwallet
@@ -83,7 +85,8 @@ bool FWalletHandle::CreateInAppOAuthWallet(const EThirdwebOAuthProvider Provider | |||
TO_RUST_STRING(ThirdwebUtils::ToString(Provider)) | |||
).AssignResult(Error)) | |||
{ | |||
Wallet = FWalletHandle(FWalletHandle::InApp, Error); | |||
Wallet = FWalletHandle(InApp, Error); | |||
FThirdwebAnalytics::SendConnectEvent(Wallet.ToAddress(), Wallet.GetTypeString()); |
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.
Likely same here
@@ -106,7 +109,8 @@ bool FWalletHandle::CreateSmartWallet(const int64 ChainID, const bool bGasless, | |||
TO_RUST_STRING(AccountOverride) | |||
).AssignResult(Error)) | |||
{ | |||
SmartWallet = FWalletHandle(FWalletHandle::Smart, Error); | |||
SmartWallet = FWalletHandle(Smart, Error); | |||
FThirdwebAnalytics::SendConnectEvent(SmartWallet.ToAddress(), SmartWallet.GetTypeString()); |
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.
Likely same here