flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
594 stars 40 forks source link

update sdks of sample apps, fix non null assertion in kotlin code #390

Closed michaelknoch closed 5 months ago

michaelknoch commented 5 months ago

Type of change: bugfix

Motivation (current vs expected behavior)

Fixes a compilation assertion in SDLActivity

> Task :UIKit:compileDebugKotlin FAILED
e: file:///mobile-app/RNPlayerComponent/NativePlayer/UIKit/src/main/java/org/libsdl/app/SDLActivity.kt:241:30 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type InputDevice?
e: file:///mobile-app/RNPlayerComponent/NativePlayer/UIKit/src/main/java/org/libsdl/app/SDLActivity.kt:241:73 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type InputDevice?

Please check if the PR fulfills these requirements