# The proguard configuration file for the following section is Android Gradle plugin 9.3.1 (extracted file: /root/flutter-ecommerce/build/app/intermediates/default_proguard_files/global/proguard-android-optimize.txt-9.3.1) # This is a configuration file for ProGuard. # http://proguard.sourceforge.net/index.html#manual/usage.html # # Starting with version 2.2 of the Android plugin for Gradle, this file is distributed together with # the plugin and unpacked at build-time. The files in $ANDROID_HOME are no longer maintained and # will be ignored by new version of the Android plugin for Gradle. # Optimizations: If you don't want to optimize, use the proguard-android.txt configuration file # instead of this one, which turns off the optimization flags. -allowaccessmodification # Preserve some attributes that may be required for reflection. -keepattributes AnnotationDefault, EnclosingMethod, InnerClasses, RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations, RuntimeVisibleTypeAnnotations, Signature -keep public class com.google.vending.licensing.ILicensingService -keep public class com.android.vending.licensing.ILicensingService -keep public class com.google.android.vending.licensing.ILicensingService -dontnote com.android.vending.licensing.ILicensingService -dontnote com.google.vending.licensing.ILicensingService -dontnote com.google.android.vending.licensing.ILicensingService # For native methods, see https://www.guardsquare.com/manual/configuration/examples#native -keepclasseswithmembernames,includedescriptorclasses class * { native ; } # Keep setters in Views so that animations can still work. -keepclassmembers public class * extends android.view.View { void set*(***); *** get*(); } # We want to keep methods in Activity that could be used in the XML attribute onClick. -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } # For enumeration classes, see https://www.guardsquare.com/manual/configuration/examples#enumerations -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keepclassmembers class * implements android.os.Parcelable { public static final ** CREATOR; } # Preserve annotated Javascript interface methods. -keepclassmembers class * { @android.webkit.JavascriptInterface ; } # The support libraries contains references to newer platform versions. # Don't warn about those in case this app is linking against an older # platform version. We know about them, and they are safe. -dontnote android.support.** -dontnote androidx.** -dontwarn android.support.** -dontwarn androidx.** # Understand the @Keep support annotation. -keep class android.support.annotation.Keep -keep @android.support.annotation.Keep class * {*;} -keepclasseswithmembers class * { @android.support.annotation.Keep ; } -keepclasseswithmembers class * { @android.support.annotation.Keep ; } -keepclasseswithmembers class * { @android.support.annotation.Keep (...); } # These classes are duplicated between android.jar and org.apache.http.legacy.jar. -dontnote org.apache.http.** -dontnote android.net.http.** # These classes are duplicated between android.jar and core-lambda-stubs.jar. -dontnote java.lang.invoke.** # End of content from Android Gradle plugin 9.3.1 (extracted file: /root/flutter-ecommerce/build/app/intermediates/default_proguard_files/global/proguard-android-optimize.txt-9.3.1) # The proguard configuration file for the following section is /opt/flutter/packages/flutter_tools/gradle/flutter_proguard_rules.pro # Build the ephemeral app in a module project. # Prevents: Warning: library class depends on program class io.flutter.plugin.** # This is due to plugins (libraries) depending on the embedding (the program jar) -dontwarn io.flutter.plugin.** # The android.** package is provided by the OS at runtime. -dontwarn android.** # In some cases, R8 is incorrectly stripping plugin classes. Keep # all implementations of FlutterPlugin until we can determine # why this is the case. # See https://github.com/flutter/flutter/issues/154580. -if class * implements io.flutter.embedding.engine.plugins.FlutterPlugin -keep,allowshrinking,allowobfuscation class <1> # End of content from /opt/flutter/packages/flutter_tools/gradle/flutter_proguard_rules.pro # The proguard configuration file for the following section is androidx.window:window:1.2.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/9156d0cc305a7ca86a2f389c373085a6/transformed/window-1.2.0/proguard.txt) # Copyright (C) 2020 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # A rule that will keep classes that implement SidecarInterface$SidecarCallback if Sidecar seems # be used. See b/157286362 and b/165268619 for details. # TODO(b/208543178) investigate how to pass header jar to R8 so we don't need this rule -if class androidx.window.layout.adapter.sidecar.SidecarCompat { public *** setExtensionCallback(androidx.window.layout.adapter.sidecar.ExtensionInterfaceCompat$ExtensionCallbackInterface); } -keep class androidx.window.layout.adapter.sidecar.SidecarCompat$TranslatingCallback, androidx.window.layout.adapter.sidecar.DistinctElementSidecarCallback { public *** onDeviceStateChanged(androidx.window.sidecar.SidecarDeviceState); public *** onWindowLayoutChanged(android.os.IBinder, androidx.window.sidecar.SidecarWindowLayoutInfo); } # Required for window area API reflection guard -keep interface androidx.window.area.reflectionguard.* {*;} # End of content from androidx.window:window:1.2.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/9156d0cc305a7ca86a2f389c373085a6/transformed/window-1.2.0/proguard.txt) # The proguard configuration file for the following section is androidx.fragment:fragment:1.7.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/08bbd6c3308a72a21b53bb0a650cb635/transformed/fragment-1.7.1/proguard.txt) # Copyright (C) 2020 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # The default FragmentFactory creates Fragment instances using reflection -if public class ** extends androidx.fragment.app.Fragment -keepclasseswithmembers,allowobfuscation public class <1> { public (); } # FragmentTransition will reflectively lookup: # androidx.transition.FragmentTransitionSupport # We should ensure that we keep the constructor if the code using this is alive -if class androidx.fragment.app.FragmentTransition { private static androidx.fragment.app.FragmentTransitionImpl resolveSupportImpl(); } -keep class androidx.transition.FragmentTransitionSupport { public (); } # End of content from androidx.fragment:fragment:1.7.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/08bbd6c3308a72a21b53bb0a650cb635/transformed/fragment-1.7.1/proguard.txt) # The proguard configuration file for the following section is androidx.lifecycle:lifecycle-viewmodel:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/0e9153cdce2a25c52d9443884a6083fc/transformed/lifecycle-viewmodel-2.7.0/proguard.txt) -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.ViewModel { (); } -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.AndroidViewModel { (android.app.Application); } # End of content from androidx.lifecycle:lifecycle-viewmodel:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/0e9153cdce2a25c52d9443884a6083fc/transformed/lifecycle-viewmodel-2.7.0/proguard.txt) # The proguard configuration file for the following section is androidx.lifecycle:lifecycle-process:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/07c64f7bc2d2a88fdb04f9a197a6bcba/transformed/lifecycle-process-2.7.0/proguard.txt) # this rule is need to work properly when app is compiled with api 28, see b/142778206 -keepclassmembers class * extends androidx.lifecycle.EmptyActivityLifecycleCallbacks { *; } # End of content from androidx.lifecycle:lifecycle-process:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/07c64f7bc2d2a88fdb04f9a197a6bcba/transformed/lifecycle-process-2.7.0/proguard.txt) # The proguard configuration file for the following section is androidx.savedstate:savedstate:1.2.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/0bc375036a3459f380b0477c476957d7/transformed/savedstate-1.2.1/proguard.txt) # Copyright (C) 2019 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -keepclassmembers,allowobfuscation class * implements androidx.savedstate.SavedStateRegistry$AutoRecreated { (); } # End of content from androidx.savedstate:savedstate:1.2.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/0bc375036a3459f380b0477c476957d7/transformed/savedstate-1.2.1/proguard.txt) # The proguard configuration file for the following section is androidx.lifecycle:lifecycle-runtime:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/e24406035b9fe2c594c93712b211d05c/transformed/lifecycle-runtime-2.7.0/proguard.txt) -keepattributes AnnotationDefault, RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations, RuntimeVisibleTypeAnnotations -keepclassmembers enum androidx.lifecycle.Lifecycle$Event { ; } -keep class * implements androidx.lifecycle.GeneratedAdapter { (...); } -keepclassmembers class ** { @androidx.lifecycle.OnLifecycleEvent *; } # this rule is need to work properly when app is compiled with api 28, see b/142778206 # Also this rule prevents registerIn from being inlined. -keepclassmembers class androidx.lifecycle.ReportFragment$LifecycleCallbacks { *; } # End of content from androidx.lifecycle:lifecycle-runtime:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/e24406035b9fe2c594c93712b211d05c/transformed/lifecycle-runtime-2.7.0/proguard.txt) # The proguard configuration file for the following section is androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/b67d5acbe9636479e663ee2b5d0ee8d9/transformed/lifecycle-viewmodel-savedstate-2.7.0/proguard.txt) -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.ViewModel { (androidx.lifecycle.SavedStateHandle); } -keepclassmembers,allowobfuscation class * extends androidx.lifecycle.AndroidViewModel { (android.app.Application,androidx.lifecycle.SavedStateHandle); } # End of content from androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/b67d5acbe9636479e663ee2b5d0ee8d9/transformed/lifecycle-viewmodel-savedstate-2.7.0/proguard.txt) # The proguard configuration file for the following section is androidx.core:core:1.13.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/2d80d675a4aa8522cf2826f26e207168/transformed/core-1.13.1/proguard.txt) # Never inline methods, but allow shrinking and obfuscation. -keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.view.ViewCompat$Api* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.view.WindowInsetsCompat$*Impl* { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.app.NotificationCompat$*$Api*Impl { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.os.UserHandleCompat$Api*Impl { ; } -keepclassmembernames,allowobfuscation,allowshrinking class androidx.core.widget.EdgeEffectCompat$Api*Impl { ; } # End of content from androidx.core:core:1.13.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/2d80d675a4aa8522cf2826f26e207168/transformed/core-1.13.1/proguard.txt) # The proguard configuration file for the following section is androidx.startup:startup-runtime:1.1.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/b3ca7cbead9225094a898da2ed3e2ffa/transformed/startup-runtime-1.1.1/proguard.txt) # It's important that we preserve initializer names, given they are used in the AndroidManifest.xml. -keepnames class * extends androidx.startup.Initializer # These Proguard rules ensures that ComponentInitializers are are neither shrunk nor obfuscated, # and are a part of the primary dex file. This is because they are discovered and instantiated # during application startup. -keep class * extends androidx.startup.Initializer { # Keep the public no-argument constructor while allowing other methods to be optimized. (); } -assumenosideeffects class androidx.startup.StartupLogger { public static ; } # End of content from androidx.startup:startup-runtime:1.1.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/b3ca7cbead9225094a898da2ed3e2ffa/transformed/startup-runtime-1.1.1/proguard.txt) # The proguard configuration file for the following section is androidx.exifinterface:exifinterface:1.4.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/15c96dcc42bf93a737b77d7ee6f44fdd/transformed/exifinterface-1.4.1/proguard.txt) # Intentionally empty proguard rules to indicate this library is safe to shrink # End of content from androidx.exifinterface:exifinterface:1.4.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/15c96dcc42bf93a737b77d7ee6f44fdd/transformed/exifinterface-1.4.1/proguard.txt) # The proguard configuration file for the following section is androidx.versionedparcelable:versionedparcelable:1.1.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/f7bc6d47501e45f244be4944d99ce7de/transformed/versionedparcelable-1.1.1/proguard.txt) -keep class * implements androidx.versionedparcelable.VersionedParcelable -keep public class android.support.**Parcelizer { *; } -keep public class androidx.**Parcelizer { *; } -keep public class androidx.versionedparcelable.ParcelImpl # End of content from androidx.versionedparcelable:versionedparcelable:1.1.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/f7bc6d47501e45f244be4944d99ce7de/transformed/versionedparcelable-1.1.1/proguard.txt) # The proguard configuration file for the following section is androidx.window.extensions.core:core:1.0.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/93908204f5af34f9eb6f8280cf73382e/transformed/core-1.0.0/proguard.txt) # Copyright (C) 2022 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # These interfaces must be kept for the client library to invoke methods in extensions. -keep interface androidx.window.extensions.core.util.function.Consumer { public void accept(***); } -keep interface androidx.window.extensions.core.util.function.Predicate { public boolean test(***); } -keep interface androidx.window.extensions.core.util.function.Function { public *** apply(***); } # End of content from androidx.window.extensions.core:core:1.0.0 (extracted file: /root/.gradle/caches/9.5.0/transforms/93908204f5af34f9eb6f8280cf73382e/transformed/core-1.0.0/proguard.txt) # The proguard configuration file for the following section is androidx.annotation:annotation-jvm:1.8.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/31d3490f652f8738b84aa369876727d0/transformed/shrink-rules/lib/META-INF/proguard/androidx-annotations.pro) -keep,allowobfuscation @interface androidx.annotation.Keep -keep @androidx.annotation.Keep class * {*;} -keepclasseswithmembers class * { @androidx.annotation.Keep ; } -keepclasseswithmembers class * { @androidx.annotation.Keep ; } -keepclasseswithmembers class * { @androidx.annotation.Keep (...); } -keepclassmembers,allowobfuscation class * { @androidx.annotation.DoNotInline ; } # End of content from androidx.annotation:annotation-jvm:1.8.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/31d3490f652f8738b84aa369876727d0/transformed/shrink-rules/lib/META-INF/proguard/androidx-annotations.pro) # The proguard configuration file for the following section is org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/8c52a998eebf77d376c814771a527b1c/transformed/shrink-rules/lib/META-INF/com.android.tools/r8-from-1.6.0/coroutines.pro) # Allow R8 to optimize away the FastServiceLoader. # Together with ServiceLoader optimization in R8 # this results in direct instantiation when loading Dispatchers.Main -assumenosideeffects class kotlinx.coroutines.internal.MainDispatcherLoader { boolean FAST_SERVICE_LOADER_ENABLED return false; } -assumenosideeffects class kotlinx.coroutines.internal.FastServiceLoaderKt { boolean ANDROID_DETECTED return true; } # Disable support for "Missing Main Dispatcher", since we always have Android main dispatcher -assumenosideeffects class kotlinx.coroutines.internal.MainDispatchersKt { boolean SUPPORT_MISSING return false; } # Statically turn off all debugging facilities and assertions -assumenosideeffects class kotlinx.coroutines.DebugKt { boolean getASSERTIONS_ENABLED() return false; boolean getDEBUG() return false; boolean getRECOVER_STACK_TRACES() return false; } # End of content from org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/8c52a998eebf77d376c814771a527b1c/transformed/shrink-rules/lib/META-INF/com.android.tools/r8-from-1.6.0/coroutines.pro) # The proguard configuration file for the following section is org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/d56d6374ff5b964e470b93e0ffbe4466/transformed/shrink-rules/lib/META-INF/com.android.tools/r8/coroutines.pro) # When editing this file, update the following files as well: # - META-INF/proguard/coroutines.pro # - META-INF/com.android.tools/proguard/coroutines.pro # Most of volatile fields are updated with AFU and should not be mangled -keepclassmembers class kotlinx.coroutines.** { volatile ; } # Same story for the standard library's SafeContinuation that also uses AtomicReferenceFieldUpdater -keepclassmembers class kotlin.coroutines.SafeContinuation { volatile ; } # These classes are only required by kotlinx.coroutines.debug.AgentPremain, which is only loaded when # kotlinx-coroutines-core is used as a Java agent, so these are not needed in contexts where ProGuard is used. -dontwarn java.lang.instrument.ClassFileTransformer -dontwarn sun.misc.SignalHandler -dontwarn java.lang.instrument.Instrumentation -dontwarn sun.misc.Signal # Only used in `kotlinx.coroutines.internal.ExceptionsConstructor`. # The case when it is not available is hidden in a `try`-`catch`, as well as a check for Android. -dontwarn java.lang.ClassValue # An annotation used for build tooling, won't be directly accessed. -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement # End of content from org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1 (extracted file: /root/.gradle/caches/9.5.0/transforms/d56d6374ff5b964e470b93e0ffbe4466/transformed/shrink-rules/lib/META-INF/com.android.tools/r8/coroutines.pro) # The proguard configuration file for the following section is # End of content from