Closed cdg720 closed 3 years ago
setup expects 'additionalPermissions': <String>[]
and now I am getting the following errors:
E/flutter (13208): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(E_ACTIVITY_DOES_NOT_EXIST, Activity doesn't exist, null, null)
E/flutter (13208): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:597:7)
E/flutter (13208): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158:18)
E/flutter (13208): <asynchronous suspension>
E/flutter (13208): #2 FlutterCallkeep._checkPhoneAccountPermission (package:callkeep/src/api.dart:325:16)
E/flutter (13208): <asynchronous suspension>
E/flutter (13208): #3 FlutterCallkeep._setupAndroid (package:callkeep/src/api.dart:302:30)
E/flutter (13208): <asynchronous suspension>
E/flutter (13208): #4 FlutterCallkeep.setup (package:callkeep/src/api.dart:39:7)
E/flutter (13208): <asynchronous suspension>
E/flutter (13208):
It seems like I am missing actual additionalPermissions but I am not sure which ones.
I will close this since the title error went away even though setup still doesn't work for me.
@cdg720 I am also having the same error
@cloudwebrtc any idea on this?
@rlee1990 i got an example working with the latest firebase and null-safety. you may want to check https://github.com/cdg720/callkeep out
@cdg720 thanks I will check it out.
Hi,
When I call
await callKeep.setup(null, callSetup);
I get the following error messagesLonger code, which basically I copied from the example:
Does anyone know what is causing this problem?
In my pubspec.yaml, I have: