The PowerSync core module provides the core functionality for the PowerSync Kotlin Multiplatform SDK.
This is a Kotlin Multiplatform project targeting Android, iOS platforms, with the following structure:
commonMain- Shared code for all targets, which includes thePowerSyncBackendConnectorinterface andPowerSyncBuilderfor building aPowerSyncinstance. It also defines theDatabaseDriverFactoryclass to be implemented in each platform.androidMain- Android specific code, which includes an implementation ofPersistentConnectionFactory.jvmMain- JVM specific code which includes an implementation ofPersistentConnectionFactory.nativeMain- iOS specific code, which includes am implementation ofPersistentConnectionFactory.
This module contains attachment helpers under the com.powersync.attachments package. See
the Attachment Helpers README