# The API module discovers the core bridge through reflection when :appinspect-core is linked in
# (AppInspect.defaultMetadataProviders → Class.forName + getDeclaredMethod).
#
# Without this rule R8 renames the class and the method, Class.forName throws, and the lookup —
# wrapped in runCatching and falling back to emptyList() — degrades silently: the Runtime panel loses
# every default App / Device / Session section with no error anywhere. This bites minified non-release
# variants that ship the full library (staging, internalTest, uat, qa), which are exactly the builds
# where a silent metadata gap is hardest to notice.
#
# The Kotlin return type List<AppInspectMetadataSectionsProvider> erases to java.util.List, so the
# signature has to be written in erased form to match.
-keep class com.data.appinspect.core.AppInspectCoreBridge {
    public static java.util.List createDefaultMetadataProviders(android.content.Context);
}
