Skip to content

Add getDylibPath for loading runtime extensions on iOS#192

Merged
ospfranco merged 1 commit into
mainfrom
oscar/extension-loading
Nov 30, 2024
Merged

Add getDylibPath for loading runtime extensions on iOS#192
ospfranco merged 1 commit into
mainfrom
oscar/extension-loading

Conversation

@ospfranco
Copy link
Copy Markdown
Contributor

@ospfranco ospfranco commented Nov 30, 2024

It's now possible to load dylibs on iOS to call the sqlite method to load an extension. This was always possible on Android but on iOS dylibs are heavily restricted and packaged into frameworks, this requires to get the runtime path of the packaged binary from iOS APIs. There is now a method one can use to get the binary path on iOS and pass the full path to the loadExtension call to sqlite.

Docs are updated, scroll down to loading extensions:

https://ospfranco.notion.site/API-1a39b6bb3eb74eb893d640c8c3459362

@ospfranco ospfranco merged commit 16f6a46 into main Nov 30, 2024
@ospfranco ospfranco deleted the oscar/extension-loading branch November 30, 2024 14:42
subtleGradient pushed a commit to effect-native/op-sqlite that referenced this pull request Sep 12, 2025
…sion-loading

Add getDylibPath for loading runtime extensions on iOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant