Commit 378ae261 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fixed proguard generated file for Android

parent e3c8177b
......@@ -45,7 +45,7 @@ import;
public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphoneFactory}}interface{{/isNotLinphoneFactory}} {{className}} {
enum {{{className}}} {
public enum {{{className}}} {
# Don't warn stuff that we are not "proguarding", warnings would make the build fail.
-dontwarn org.linphone.**
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
# The following interfaces and classes are referenced from JNI
-keep interface {{package}}.{{className}} {*;}
-keep class {{package}}.{{className}} {*;}
-keep class {{package}}.{{classImplName}} {*;}
# The following enums are referenced from JNI
-keep class {{package}}.{{className}} {*;}
-keep enum {{package}}.{{className}} {*;}
# The following listeners are referenced from JNI
-keep class {{package}}.{{className}} {*;}
-keep class {{package}}.{{className}}Stub {*;}
# Wrapper classes
-keep class org.linphone.core.CoreException {*;}
-keep class org.linphone.core.Utils {*;}
# Liblinphone tools
-keep class* {*;}
# Mediastreamer classes
-keep class org.linphone.mediastream.Factory {*;}
-keep class org.linphone.mediastream.MediastreamerAndroidContext {*;}
-keep class {*;}
-keep class {*;}
-keep class {*;}
-keep class {*;}
-keep class org.linphone.mediastream.Version {*;}
-keep class org.linphone.mediastream.* {*;}
-keep class* {*;}
-keep class* {*;}
-keep class* {*;}
-keep class* {*;}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment