JackAppDev / flutter_iap

Flutter iap plugin
MIT License
100 stars 15 forks source link

[iOS] convert to Objective-C #35

Open alamboley opened 6 years ago

alamboley commented 6 years ago

Just read the #34 issue.

Swift is actually an issue for this plugin:

Moving back to Objective-C will also enable to share code with strong plugin from other communities like RN.

JackAppDev commented 6 years ago

Good point. Swift has been causing issues yet I don't know Obj-C nor do I plan on learning it. If somebody would like to take up maintaining the ios side of it this would be a good change.

thosakwe commented 6 years ago

I've learned a decent bit of Objective-C recently, and would like to contribute to this project.

However, I do know way more Java, so if anything, I'll probably start with #34.

ened commented 6 years ago

Swift runtime size is a temporary issue which will be resolved once iOS ships with a swift standard library by default.

Cocoapods issues are 3rd party and as such should not be treated as showstoppers. This IAP (and other swift-based flutter plugins) work fine. Issues can usually be found with environment setup or actual configuration. Flutter officially supports both kotlin and swift and my suggestion is to follow mainstream flutter support lines here and report integration bugs there so it can be fixed in the future.