ProGuard Rules (both android/app and test-app): - Capacitor Plugin Protection: Keep Capacitor annotations and plugin methods - DailyNotification Plugin Classes: Protect all plugin classes and methods - Manager Classes: Keep all *Manager, *Storage, *Receiver classes - Database Protection: Room database classes, entities, DAOs, migrations - Error Handling: Keep error and exception classes - Performance Classes: Keep optimization and performance monitoring classes - System Classes: Protect Android system classes used by plugin - Security Classes: Keep network and security-related classes - Debugging: Preserve debug information and annotations Key protections: - @CapacitorPlugin and @PluginMethod annotations - All com.timesafari.dailynotification.** classes - Room database classes and migrations - Android system classes (AlarmManager, NotificationManager, etc.) - Network and security classes - Debug attributes and signatures This ensures the plugin remains functional after minification and prevents critical classes from being stripped during release builds.
5.6 KiB
5.6 KiB