Closed trinitiwowka closed 11 months ago
And another question: can i use sdk without .withContext(getApplicationContext())
? because now i get infinite waiting for function execution( seonFingerprint.getFingerprintBase64)
Hey @trinitiwowka ! I'm going to need a bit more context. For example from the @CapacitorPlugin
annotation I'm assuming you are using Capacitor ? The Cannot resolve symbol
message usually means that the SDK has not been properly imported. I'm not familiar how Capacitor JS works but please make sure you have followed the SDK's documentation where applicable and the necessary lines are included in your app's build.gradle
file.
And another question: can i use sdk without .withContext(getApplicationContext()) ? because now i get infinite waiting for function execution( seonFingerprint.getFingerprintBase64)
No, passing the application context is required for the SDK to function properly. This infinite waiting time can stem from your first issue, if the SDK isn't properly included in your application. Otherwise if imported successfully, please make sure you use the latest available version. If your issue still occurs then please get back to me with some more details.
R
closed due to inactivity
Thank you. my solution was
Seon seonFingerprint = new SeonBuilder()
.withContext(this.getActivity().getApplicationContext())
.withSessionId(SESSION_ID)
.build();
Hi! How i can fix it?
import io.seon.androidsdk.service;