If you upgraded SDK to a newer major or minor version and encounter some problems, then please follow the Migration Instructions first.
In case you encounter a problem with this library, then try to turn-on a detailed debug log to provide a more information for the library developers:
// Enable debug log with failed call to native function.
PowerAuthDebug.traceNativeCodeCalls(true);
// Trace all calls to native library
PowerAuthDebug.traceNativeCodeCalls(true, true);The PowerAuthDebug class is effective only when isEnabled is true. We don't want to log the sensitive information to the console in the production application.
If PowerAuthDebug.isEnabled is turned on, then you can dump information about all native objects allocated and used by PowerAuth Mobile JS SDK:
// Dump all objects
await PowerAuthDebug.dumpNativeObjects();
// Dump objects related to PowerAuth instance
await PowerAuthDebug.dumpNativeObjects(powerAuth.instanceId);