Skip to content

Commit 117ffb0

Browse files
committed
Fixed CAS.Android.CASConsentFlowClient signature exception.
1 parent 15cc8fe commit 117ffb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: Runtime/Internal/Android/CASJavaBridge.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void onCASInitialized(string error, string countryCode, bool isConsentReq
101101

102102
internal class CASConsentFlowClient : IDisposable
103103
{
104-
private readonly AndroidJavaObject obj;
104+
internal readonly AndroidJavaObject obj;
105105

106106
internal CASConsentFlowClient(ConsentFlow flow)
107107
{

Diff for: Runtime/Internal/Android/CASManagerClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ internal IMediationManager Init(CASInitSettings initData)
202202
if (!initData.consentFlow.isEnabled)
203203
builder.Call("disableConsentFlow");
204204
else
205-
builder.Call("withConsentFlow", new CASConsentFlowClient(initData.consentFlow));
205+
builder.Call("withConsentFlow", new CASConsentFlowClient(initData.consentFlow).obj);
206206
}
207207

208208
CASJavaBridge.RepeatCall("addExtras", builder, initData.extras, false);

0 commit comments

Comments
 (0)