Skip to content

Add ProGuard rules to keep Realm classes and their names#1472

Merged
meladRaouf merged 1 commit into
mainfrom
fix-realm-proguard-rules
Nov 20, 2025
Merged

Add ProGuard rules to keep Realm classes and their names#1472
meladRaouf merged 1 commit into
mainfrom
fix-realm-proguard-rules

Conversation

@meladRaouf
Copy link
Copy Markdown
Collaborator

JIRA ticket
Will be released in: 2026.1.0

Notable changes

  • I’m not sure why the Realm classes were included automatically before my upgrade but are now missing. At this point, we need to add them explicitly to the ProGuard rules using:
-keep class io.realm.** { *; }
-keepnames class io.realm.** { *; }

Testing guidance

  • Enable minification and test that realm DB is still functioning

Additional work checklist

  • Effect on other features and security has been considered
  • Design document marked as "In development" (if applicable)
  • External (Gitbook) and internal (Confluence) Documentation is up to date (or ticket created)
  • Test cases in Testiny are up to date (or ticket created)
  • Other teams notified about the changes (if applicable)

@sonarqubecloud
Copy link
Copy Markdown

@meladRaouf meladRaouf merged commit 075dc86 into main Nov 20, 2025
13 checks passed
@meladRaouf meladRaouf deleted the fix-realm-proguard-rules branch November 20, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants