Skip to content

Commit f64c4c4

Browse files
fix(android): packaging errors
1 parent ed8bd92 commit f64c4c4

4 files changed

Lines changed: 3 additions & 10 deletions

File tree

-444 Bytes
Binary file not shown.

Source/Immutable/Private/Immutable/ImmutablePassport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ void UImmutablePassport::OnGetAuthUrlResponse(FImtblJSResponse Response)
496496

497497
Msg = Response.JsonObject->GetStringField(TEXT("result")).Replace(TEXT(" "), TEXT("+"));
498498
#if PLATFORM_ANDROID
499-
OnPKCEDismissed = FImtblPassportOnPKCEDismissedDelegate::CreateUObject(this, &UImmutablePassport::HandleOnLoginDismissed);
499+
OnPKCEDismissed = FImtblPassportOnPKCEDismissedDelegate::CreateUObject(this, &UImmutablePassport::HandleOnLoginPKCEDismissed);
500500
LaunchAndroidUrl(Msg);
501501
#elif PLATFORM_IOS
502502
[[ImmutableIOS instance] launchUrl:TCHAR_TO_ANSI(*Msg)];
@@ -714,7 +714,7 @@ void UImmutablePassport::HandleDeepLink(NSString* sDeepLink) const
714714
}
715715

716716
#if PLATFORM_ANDROID
717-
void UImmutablePassport::HandleOnLoginDismissed()
717+
void UImmutablePassport::HandleOnLoginPKCEDismissed()
718718
{
719719
IMTBL_LOG("Handle On Login PKCE Dismissed");
720720
OnPKCEDismissed = nullptr;

Source/Immutable/Public/Immutable/ImmutableDataTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ struct IMMUTABLE_API FZkEvmTransactionReceipt
321321
FString requestId;
322322

323323
UPROPERTY(EditAnywhere, BlueprintReadWrite)
324-
bool success;
324+
bool success = false;
325325

326326
UPROPERTY(EditAnywhere, BlueprintReadWrite)
327327
FString blockHash;

Source/Immutable/Public/Immutable/ImmutablePassport.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,6 @@ class IMMUTABLE_API UImmutablePassport : public UObject
311311
#endif
312312

313313
protected:
314-
#if PLATFORM_ANDROID
315-
/*
316-
* Delegate used for handling the dismissal of the PKCE flow on Android.
317-
*/
318-
DECLARE_DELEGATE(FImtblPassportOnPKCEDismissedDelegate);
319-
#endif
320-
321314
#if PLATFORM_ANDROID | PLATFORM_IOS | PLATFORM_MAC | PLATFORM_WINDOWS
322315
/** Delegate for handling deep link activation. */
323316
FImmutableDeepLinkMulticastDelegate OnHandleDeepLink;

0 commit comments

Comments
 (0)