1.5 KiB
1.5 KiB
Contributing
Thanks for helping. Bug reports, questions and feature requests go to the
issue tracker. For a bug, include the plugin version, the
LevelPlay SDK and adapter versions, the platform and OS version, and the native log (Xcode console or
adb logcat | grep -E "LevelPlay|IronSource|IntegrationHelper").
Development
Requirements: Bun, Xcode 26+ for iOS, JDK 21 and the Android SDK for Android.
bun install
bun run build # docgen (README API section) + dist/
bun run typecheck
bun run verify:ios # xcodebuild the Swift package (iOS simulator)
JAVA_HOME=$(/usr/libexec/java_home -v 21) bun run verify:android
- The public API lives in
src/definitions.ts. Document every method, option and event with JSDoc (@since), then runbun run buildso the API section ofREADME.mdis regenerated. Do not edit between thedocgenmarkers by hand. - Keep the Android (
android/src/main/java/...) and iOS (ios/Sources/...) bridges in step: same method names, same result and event shapes. dist/is committed so the package can be installed from git; rebuild it in the same commit as source changes.- Add an entry under
UnreleasedinCHANGELOG.md.
Pull requests
Keep them focused, describe what changed and how you tested it (device or simulator, OS version, network). By contributing you agree that your work is released under the MIT License.