TheArchitect123 / KmpEssentials

KmpEssentials is a library that contains apis (40+ Modules) to accelerate your development. Everything from managing the Battery, File System, getting Package information, or taking Photos. Supports iOS, Android & AppleWatch
MIT License
169 stars 2 forks source link

[Bug] [iOS] [Share] Sharing the file shared without ".type" in it #14

Open Monabr opened 1 month ago

Monabr commented 1 month ago

Hello.

I have tested on iOS that when I share the file.csv it shared like file but not like file.csv.

Tested on version 1.1.7

Also docs are not synced with code.

Docs states:

KmpShare
     .setFileType(Mimes.csv)   // set the file type (Mimes is an object provided by KmpEssentials to simplify configuration)
     .shareFileWithAnyApp(filePath: String, optionalTitle: String = "") 

but there is no setFileType method in current 1.1.7 version.

Please fix it.