X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fproguard-rules.pro;h=81eafd045fdcad519fcaa21c7b6409881e59d7a1;hp=189b58019d321a17467f8fd65e7f496da905eef5;hb=aba828cabddd0a277271c90816b50292bb64baf1;hpb=8ee8e28f3ea0b1cbab0e792fb065475953bb0b55 diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 189b5801..81eafd04 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,6 +1,24 @@ +# Copyright © 2020,2022 Soren Stoutner . +# +# This file is part of Privacy Browser Android . +# +# Privacy Browser Android is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Privacy Browser Android is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Privacy Browser Android. If not, see . + + # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified -# in /home/soren/Android/Sdk/tools/proguard/proguard-android.txt +# in ~/Android/Sdk/tools/proguard/proguard-android-optimize.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # @@ -15,3 +33,6 @@ #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} + +# Make Kotlin ViewModels work correctly. +-keep class * extends androidx.lifecycle.ViewModel { *; } \ No newline at end of file