YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
15 stars 7 forks source link

Extensions: Allow adding Kotlin and Swift files into projects use with for Android and iOS extensions #4413

Open silengames opened 5 months ago

silengames commented 5 months ago

Is your feature request related to a problem?

Absolutely all third-party SDKs for Android and iOS use Kotlin and Swift. But support for Java and Objective C is gradually disappearing and will soon stop completely. The most striking example is Meta and Facebook SDKs for iOS which stopped supporting Objective C. Because of this, your official extension has not been updated for a year and a half.

Describe the solution you'd like

Addiing Kotlin and Swift support for Android and iOS extensions are required

Describe alternatives you've considered

No response

Additional context

No response

silengames commented 5 months ago

I added Kotlin support very easily through injections. But with Swift, not everything is so simple due to the fact that files with an extension other than H and MM are not added to the Xcode project.

jzavala-YYG commented 2 months ago

Project using Swift and Kotlin addition (a+b=c) example: Mobil Extension Example.zip

jzavala-YYG commented 2 months ago

KotlinSwiftTestProjectAndAsync.zip Example with async call on iOS/TvOS