Skip to content Skip to sidebar Skip to footer

Possible Bug In Akavache In Xamarin.forms / Xamarin Ios

Implementation of Akavache works on Android debug and release and iOS debug mode. However, it crashes on iOS release mode. The exception thrown, intercepted from Raygun, is The typ

Solution 1:

It might be an issue with linking...

Can you try link skipping the Akavache Dlls?

Or using a linker file to exclude them and see if that works?

Also make sure you have the https://github.com/PureWeen/Akavache/blob/3bd03246a6e198bde5eb93a54646dd9f25fc15a1/src/Akavache.Sqlite3/content/AkavacheSqliteLinkerOverride.cs.pp

file in your platform project

the main problem with iOS is that the Xamarin tools use static analysis to remove dlls that it doesn't think any of your code references. Akavache uses Reflection to find if you are using the SqlLite Dll which Xamarin can't detect so with release versions that DLL gets removed :-/

The Override class just gives the tools information that you want that Dll

Post a Comment for "Possible Bug In Akavache In Xamarin.forms / Xamarin Ios"