Skip to content

Commit 7113003

Browse files
- (Android) Fix calling of the onCallRejectedWhenTerminated and the onCallAcceptedWhenTerminated callbacks in the release build;
1 parent ca14f17 commit 7113003

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/connectycube_flutter_call_kit.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ class ConnectycubeFlutterCallKit {
294294
// from the native portion of the plugin. This allows for the plugin to perform
295295
// any necessary processing in Dart (e.g., populating a custom object) before
296296
// invoking the provided callback.
297+
@pragma('vm:entry-point')
297298
void _backgroundEventsCallbackDispatcher() {
298299
// Initialize state necessary for MethodChannels.
299300
WidgetsFlutterBinding.ensureInitialized();

0 commit comments

Comments
 (0)