K2BTools callyou common errors

Specification erros

Module not available error

error spc0224: Module GeneXusJWT not available for (C#|Java) environment (Procedure K2BTools.Meetings.GetJitsiTokenForRoom)
error spc0224: Module SecurityAPICommons not available for (C#|Java) environment (Procedure K2BTools.Meetings.GetJitsiTokenForRoom)

In GeneXus IDE go to Knowledge Manager -> Manage Module References and install GeneXusJWT module and SecurityApiCommons

ManageModuleReference1 ManageModuleReference2
ManageModuleReferences GeneXusJWT and SecurityApiCommons

Compilation errors

Min SDK error

error:     uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library com.k2btools:k2btoolsjitsi:1.0

Check that the minsdk was updated to 21 as shown in the installation instructions.

Android Manifest error

error:     Attribute application@allowBackup value=(false) from AndroidManifest.xml:9:18-45
error:     is also present at org.jitsi.react:jitsi-meet-sdk:2.8.2 AndroidManifest.xml:32:9-35 value=(true).
error:     Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:6:5-31:17 to override.

Check that the android manifest was updated as shown in the installation instructions.

iOS: Framework not found K2BToolsTwilioIntegrationModule

Ths can only happend in GX 17 U19 or lower. Check that all steps in the Installing CallYou Previous Versions were executed correctly, especially the step updating GXFrameWorkList.txt.

Runtime errors

Could not load file or assemby 'BouncyCastle.Crypto'

This error may be shown in runtime when using the .Net generators and when JWT tokens are used. JWT tokens are created using the GeneXusJWT module, that depends on the SecurityAPICommons module.

Check that both modules are installed and updated in the KB.

Unable to connect to Room: getUserMedia is not supported

This error is shown because the WebRTC APIs are available only when the web site is accessed via HTTPS. This APIs are used to access the camera and microphone in the device.

Check that the web site is accessed via HTTPS and not HTTP.

Key validation errors: Unable to connect to Room

Unable to connect to Room: The object can not be found here.
Unable to connect to Room: Invalid Access Token signature

This errors are shown when the JWT token is not valid.

Check that the LoadTwilioConfiguration object contains valid credentials. In particular, check that the key is encoded as a hex string. For more information check encoding JWT keys as hexadecimal values

Is missing one or more architectures

error: The linked framework 'Pods_MeetingAppJitsi.framework' is missing one or more architectures required by this target: i386. (in target 'MeetingAppJitsi' from project 'MeetingAppJitsi')
error: error: The linked and embedded framework '
or
error:  The linked and embedded framework 'K2BToolsTwilioIntegrationModule.framework' is missing one or more architectures required by this target: i386. (in target 'MeetingAppTwilio' from project 'MeetingAppTwilio')Failed: iOS CompilationFailed: Run MeetingAppTwilio

Check in the IOS environment that the deployment variable is set to IOS 13.0.

IOS:This app has crashed because it attempted to access privacy sensitive data without a usage description. The app´s info.plist must contain a NSMicrophoneUsageDescription key with a string value explaining to the user how this apps uses this data.

Go to the Installing K2BTools callyou and follow the step "For the use of CallYou in IOS, the main program must have this purpose strings set:"

IOSDeploymentTarget
IOS Deployment Target