Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

Commit ae77fea

Browse files
committed
feat: add Objective-C bridge for Kotlin Multiplatform with OpenIapSerialization
- Add OpenIapModule+ObjC.swift for Objective-C compatibility - Make Subscription inherit from NSObject for Objective-C compatibility - Use NSDictionary for Objective-C compatibility in event listeners - Enforce correct type for purchase vs subscription requests - Use DiscountOfferInputIOS for subscription offers - Add git commit message guidelines to CLAUDE.md
1 parent 9a99e5d commit ae77fea

File tree

3 files changed

+419
-1
lines changed

3 files changed

+419
-1
lines changed

AGENTS.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,42 @@ func requestPurchaseIOS() // Should be requestPurchase() if cross-platform
129129
- **Helpers**: Use descriptive names ending with purpose (Manager, Cache, Status, etc.)
130130
- **Avoid confusing names**: Don't use "Store" for caching classes (use Cache, Manager instead)
131131

132+
## Git Commit Message Guidelines
133+
134+
### Commit Message Format
135+
136+
- Follow Conventional Commits format: `<type>: <description>`
137+
- **Type MUST be lowercase** (e.g., `feat:`, `fix:`, `docs:`, `refactor:`)
138+
- **Description starts with lowercase** after the colon and space
139+
140+
#### Common Types
141+
142+
- `feat:` - New feature
143+
- `fix:` - Bug fix
144+
- `docs:` - Documentation changes
145+
- `refactor:` - Code refactoring
146+
- `test:` - Test additions or changes
147+
- `chore:` - Maintenance tasks
148+
149+
#### Examples
150+
151+
##### ✅ Correct
152+
153+
```
154+
feat: add Objective-C bridge for Kotlin Multiplatform
155+
fix: use DiscountOfferInputIOS for subscription offers
156+
docs: update API documentation
157+
refactor: simplify purchase flow logic
158+
```
159+
160+
##### ❌ Incorrect
161+
162+
```
163+
Feat: add new feature // Type should be lowercase
164+
fix: Add new feature // Description should start with lowercase
165+
FIX: something // Type should be lowercase
166+
```
167+
132168
## Development Notes
133169

134170
- Purchase Flow should display real-time purchase events

0 commit comments

Comments
 (0)