flowkey / UIKit-cross-platform

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

Add JNI implementation of FileManager for Android #337

Closed mouselangelo closed 2 years ago

mouselangelo commented 2 years ago

Needed for https://github.com/flowkey/NativePlayer/pull/864

Type of change: feature

Motivation (current vs expected behavior)

The FileManager in Foundation doesn't return the correct directories on Android - the directories returned are not accessible by our app.

This PR implements a custom version of the FileManager class that uses JNI to obtain the correct directories.

Please check if the PR fulfills these requirements

mouselangelo commented 2 years ago

Moving this to https://github.com/flowkey/AndroidLibs