bk138 / multivnc

MultiVNC is a cross-platform Multicast-enabled VNC viewer based on LibVNCClient. The desktop client runs on Unix, Mac OS X and Windows. There also is an Android client.
GNU General Public License v3.0
460 stars 66 forks source link

Android: Fix Import/Export #178

Closed gujjwal00 closed 2 years ago

gujjwal00 commented 2 years ago

This PR fixes two issues with Import/Export:

  1. Proguard rules for keeping the JSON serialization code were missing. Without them R8 will strip the serialization code in Release build, breaking Import/Export. This was my fault.
  2. Current MIME types for import file doesn't allow users to select any file (not even Json/XML) with standard file picker. Moreover some apps (e.g. CX File Explorer) ignore MIME types and already allow selecting any file.
bk138 commented 2 years ago
2. Current MIME types for import file doesn't allow users to select any file (not even Json/XML) with standard file picker. Moreover some apps (e.g. CX File Explorer) ignore MIME  types and already allow selecting any file.

Funny, this worked at least on my Android 11...