Some incidents
Currently I am using CsharpShellApp (Xamarin.Form) for more than 4 months, in the process of using I encountered some following problems:
-
This sound pack I used to use on Visual Studio before, but in CsharpShellApp I can't use it, the package name is: "Plugin.SimpleAudioPlayer" (https://www.nuget.org/packages/Xam.Plugin.SimpleAudioPlayer).
-
I use this library to compress and decompress as well as set password for zip file, when I debug in "CsharpShellApp" everything is normal, I have created zip file and password comes as I did setup (of course write, read, drive management permissions are enabled). But when I released the apk I couldn't create the zip file or the feature got an exception, but on Visual Studio I released the apk and it worked. The name of the library I use often: "DotNetZip" (https://www.nuget.org/packages/DotNetZip/).
-
followed by sqlite library, I use package "sqlite-net-pcl" all feature as well as release apk, everything goes well like package "sqlite-net-pcl", but when I use Using sqlite's encryption package, when debugging as well as when releasing apk, everything is normal, only my db file is not encrypted, and I do it in Visual Studio, my db file is encrypted. chemical. library name is: "sqlite-net-sqlcipher" (https://www.nuget.org/packages/sqlite-net-sqlcipher/).
-
Next is when I create a FlyoutPage, I use Listview to display items to select, those items are taken with the images in the 'Assets' section in png format. When I debug on CsharpShellApp everything works fine, but when I release the apk, I don't see those icons. it only shows the icon title.
these are the problems i am having in CsharpShellApp. when executing the project on Visual Studio, everything works normally, but actually I still prefer to write code on CsharpShellApp, because it is very convenient, highly portable, in addition to the above problems currently when using CsharpShellApp I feel very great, I have also recommended it to my friends to use, they also like it very much, hope your application grows more and more and has many new achievements.
- The app may never support the complex and heavy build process Visual Studio to bind Java and C# together.
- There is no reason it wouldn't work in a separate app except permissions or relative paths. You probably need full manage_external_storage permissions (Android >= 11).
- sqlite-net-pcl issue could be because until a few days ago the app was forced to use old versions of packages.
- Actually this is a convenience feature I've added. Xamarin.Forms doesn't support loading from Android Assets. By release you mean VS? It should work when outputted by C# Shell.
Thanks to the publisher for giving me some more information, after all, it's just a "supported" application, a mobile application, can't ask for too much, use it to learn and learn some controls, but at least it's good to use the basics, thanks.