Comments (3)
Try creating a proguard-rules.pro with this content.
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-dontwarn io.flutter.embedding.**
# Twilio Programmable Voice
-keep class com.twilio.** { *; }
-keep class tvo.webrtc.** { *; }
-dontwarn tvo.webrtc.**
-keep class com.twilio.voice.** { *; }
-keepattributes InnerClasses
## Gson rules
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature
# For using GSON @Expose annotation
-keepattributes *Annotation*
# Gson specific classes
-dontwarn sun.misc.**
#-keep class com.google.gson.stream.** { *; }
# Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory,
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
-keep class * extends com.google.gson.TypeAdapter
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer
# Prevent R8 from leaving Data object members always null
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
}
from twilio_voice.
Try creating a proguard-rules.pro with this content.
## Flutter wrapper -keep class io.flutter.app.** { *; } -keep class io.flutter.plugin.** { *; } -keep class io.flutter.util.** { *; } -keep class io.flutter.view.** { *; } -keep class io.flutter.** { *; } -keep class io.flutter.plugins.** { *; } -dontwarn io.flutter.embedding.** # Twilio Programmable Voice -keep class com.twilio.** { *; } -keep class tvo.webrtc.** { *; } -dontwarn tvo.webrtc.** -keep class com.twilio.voice.** { *; } -keepattributes InnerClasses ## Gson rules # Gson uses generic type information stored in a class file when working with fields. Proguard # removes such information by default, so configure it to keep all of it. -keepattributes Signature # For using GSON @Expose annotation -keepattributes *Annotation* # Gson specific classes -dontwarn sun.misc.** #-keep class com.google.gson.stream.** { *; } # Prevent proguard from stripping interface information from TypeAdapter, TypeAdapterFactory, # JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter) -keep class * extends com.google.gson.TypeAdapter -keep class * implements com.google.gson.TypeAdapterFactory -keep class * implements com.google.gson.JsonSerializer -keep class * implements com.google.gson.JsonDeserializer # Prevent R8 from leaving Data object members always null -keepclassmembers,allowobfuscation class * { @com.google.gson.annotations.SerializedName <fields>; }
thanks. It works
from twilio_voice.
@diegogarciar Facing same issue even after setting the pro-guard file.
from twilio_voice.
Related Issues (20)
- Native Call Screen UI on iOS
- TwilioVoice.instance.callEventsListener is not called in incomming call android Flutter HOT 2
- How to terminate Native Call Ui When Create Make Call
- Native Ui Accept and Decline Button Not Work
- In Android App is not working in release mode but wotking fine in dubug mode HOT 2
- Unregistering a Twilio instance does not end active calls on it. HOT 1
- [Android] Can't run project in flutter 3.19.0 HOT 7
- customParams field in Active Call is null on Answer event.
- [Question] Is Windows platform supported? HOT 3
- [iOS] Poor call quality on iOS with a lot of jittery HOT 4
- not compatible with latest android gradle plugin (>= 8.x.x) HOT 1
- Is their any method of this package which is through can i direct connect to the Twilio? HOT 1
- Direct Connect Flutter To Twilio HOT 1
- [IOS] Not receiving calls if App is not opened for few days HOT 2
- unregister a user and register again - calls will not comes (Failed to report incoming call successfully: The operation couldn’t be completed.)(com.apple.CallKit.error.incomingcall error 3.)
- Invalid argument(s): DEVICETOKEN is not a valid CallState.
- Android app crashes when an Incoming Call is answered with java.lang.SecurityException: Requires the RECORD_AUDIO permission HOT 4
- Answer and HangUp do not work for ringing Incoming Call on iOS.
- _prettyPrintNumber is US-only?
- Phone number to Phone number call not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twilio_voice.