unInitialize method

Future<void> unInitialize()

Tears down the native SDK so a different user can be loaded via initialize + register again, without shutting down the plugin.

Use this when switching SIP users (different number/account) — PortSIP only allows one user loaded at a time and silently rejects swap attempts with -60095, so the native SDK has to be unInitialized between users.

In contrast to dispose, this method does NOT close the event stream, remove lifecycle observers, or tear down CallKit/ConnectionService. The plugin remains usable; the next initialize will build a fresh native SDK and events keep flowing through the existing stream.

Implementation

Future<void> unInitialize() async {
  throw UnimplementedError('unInitialize has not been implemented.');
}