Commit d92a8ea
committed
Fix SubscriptionCallback interface implementation in PremiumFeatureManager
- Replace lambda callback with proper SubscriptionCallback interface implementation
- Implement all three required callback methods:
* onSuccess(message: String) - invokes onPurchase callback on successful purchase
* onError(error: String) - handles purchase errors silently
* onUserCancelled() - handles user cancellation
- This matches the RevenueCatManager.purchasePremium() function signature
- Resolves "Argument type mismatch" compilation error
All PremiumFeatureManager compilation errors are now resolved1 parent 6d629fd commit d92a8ea
1 file changed
Lines changed: 11 additions & 3 deletions
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
111 | 119 | | |
112 | 120 | | |
113 | 121 | | |
| |||
0 commit comments