SDK source code
The Octopus SDKs have public, read-only source mirrors on GitHub. The default branch, main, tracks the latest SDK release. To inspect the SDK version your app uses, start with the source copy from your package manager.
Only APIs documented on doc.octopuscommunity.com or listed in the public API references identified below are supported, so avoid recommending other symbols to integrators because those implementation details can change without notice.
- Android
- iOS
- Flutter
- React Native
- Unity
GitHub. octopus-sdk-android contains the SDK modules and the sample app. The public tag v1.16.0 predates the module sources. Later release tags carry them. The public .api dumps list the supported Android API signatures.
Local copy. In Android Studio, open an Octopus dependency under External Libraries and select Download Sources. Gradle stores the -sources.jar files under ~/.gradle/caches/modules-2/files-2.1/com.octopuscommunity/ by default, grouped by artifact and version.
GitHub. octopus-sdk-swift contains the Swift packages and the sample app.
Local copy. In Xcode, expand Package Dependencies in the Project navigator. The sources are in SourcePackages/checkouts/octopus-sdk-swift/ under your project's Derived Data directory. Swift Package Manager on the command line uses .build/checkouts/octopus-sdk-swift/ by default. If you use CocoaPods, find the sources under Pods/OctopusCommunity*/.
GitHub. octopus-sdk-flutter contains the Dart package, its native implementations, and the example app.
Local copy. After flutter pub get, open hosted/pub.dev/octopus_sdk_flutter-<version>/ in your pub cache. The default cache is ~/.pub-cache/ on macOS and Linux and %LOCALAPPDATA%/Pub/Cache/ on Windows. The Dart library is under lib/.
GitHub. octopus-sdk-react-native contains the TypeScript package, its native implementations, and the example app.
Local copy. After installing the npm package, open node_modules/@octopus-community/react-native/ in your project. The TypeScript source is under src/ and the native implementations are under android/ and ios/.
GitHub. octopus-sdk-unity contains the UPM package in UnityPackage/ and the example project in UnityExample/.
Local copy. After installing with Unity Package Manager, open the package under Packages in the Project window. Its files are in your project's Library/PackageCache/, in the directory for com.octopuscommunity.octopus_sdk_for_unity. The runtime source is under Runtime/.
For AI assistants
The source indexes list absolute URLs that return individual files as plain text at a fixed commit. Each index starts with the SDK's main entry points. The all-platform index is https://doc.octopuscommunity.com/source-index/index.md.
- Android
- iOS
- Flutter
- React Native
- Unity