File tree Expand file tree Collapse file tree
lib/stringee_wrapper/call Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#Flutter Wrapper
2- -dontwarn org.webrtc.**
2+ # WebRTC
33-keep class org.webrtc.** { *; }
4+ -dontwarn org.webrtc.**
5+ -keepclassmembers class org.webrtc.** { *; }
6+
7+ # JNI
8+ -keepclasseswithmembernames class * {
9+ native <methods>;
10+ }
11+ -keep class org.jni_zero.** { *; }
12+
13+ # Stringee
14+ -dontwarn com.stringee.**
415-keep class com.stringee.** { *; }
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ class StringeeCallModel extends ChangeNotifier {
175175 });
176176 }
177177
178- _handleStringeeCallEvent (Map <dynamic , dynamic > event) async {
178+ Future < void > _handleStringeeCallEvent (Map <dynamic , dynamic > event) async {
179179 switch (event['eventType' ]) {
180180 /// StringeeCallEvents
181181 case StringeeCallEvents .didChangeSignalingState:
@@ -491,7 +491,7 @@ class StringeeCallModel extends ChangeNotifier {
491491 return Response .success ('Call answered already' );
492492 }
493493
494- startTimerIfNeeded () {
494+ void startTimerIfNeeded () {
495495 if (! _startedTimer) {
496496 _startedTimer = true ;
497497 _time = '00:00' ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ dependencies:
1313
1414 cupertino_icons : 1.0.8
1515
16- stringee_plugin : ^1.2.14
16+ stringee_plugin : ^1.2.16
1717
1818 # for ios
1919 uuid : ^4.5.1
You can’t perform that action at this time.
0 commit comments