Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion call_sample/android/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
#Flutter Wrapper
-dontwarn org.webrtc.**
# WebRTC
-keep class org.webrtc.** { *; }
-dontwarn org.webrtc.**
-keepclassmembers class org.webrtc.** { *; }

# JNI
-keepclasseswithmembernames class * {
native <methods>;
}
-keep class org.jni_zero.** { *; }

# Stringee
-dontwarn com.stringee.**
-keep class com.stringee.** { *; }
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class StringeeCallModel extends ChangeNotifier {
});
}

_handleStringeeCallEvent(Map<dynamic, dynamic> event) async {
Future<void> _handleStringeeCallEvent(Map<dynamic, dynamic> event) async {
switch (event['eventType']) {
/// StringeeCallEvents
case StringeeCallEvents.didChangeSignalingState:
Expand Down Expand Up @@ -491,7 +491,7 @@ class StringeeCallModel extends ChangeNotifier {
return Response.success('Call answered already');
}

startTimerIfNeeded() {
void startTimerIfNeeded() {
if (!_startedTimer) {
_startedTimer = true;
_time = '00:00';
Expand Down
2 changes: 1 addition & 1 deletion call_sample/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:

cupertino_icons: 1.0.8

stringee_plugin: ^1.2.14
stringee_plugin: ^1.2.16

#for ios
uuid: ^4.5.1
Expand Down