Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS App Not Run update Config Not found #44

Closed
devalp-pro opened this issue Feb 19, 2022 · 2 comments · Fixed by #60
Closed

iOS App Not Run update Config Not found #44

devalp-pro opened this issue Feb 19, 2022 · 2 comments · Fixed by #60

Comments

@devalp-pro
Copy link

I m not use ConnectycubeFlutterCallKit.instance.updateConfig(ringtone: 'custom_ringtone', icon: 'app_icon', color: '#07711e'); This method even if when I run the app in in simulator it's give me error below.

[SwiftConnectycubeFlutterCallKitPlugin][handle] method: updateConfig
Could not cast value of type 'NSNull' (0x111ea6f50) to 'NSString' (0x111ea6f38).
2022-02-19 11:04:54.380348+0530 Runner[44844:321335] Could not cast value of type 'NSNull' (0x111ea6f50) to 'NSString' (0x111ea6f38).

@TatankaConCube
Copy link
Contributor

our sample works well with this lib

@sanalkumar1991
Copy link

change ' let ringtone = arguments["ringtone"] as! String' and 'let icon = arguments["icon"] as! String' to ' let ringtone = arguments["ringtone"] as? String' and 'let icon = arguments["icon"] as? String' in ios/.symlinks/plugins/connectycube_flutter_call_kit/ios/Classes/SwiftConnectycubeFlutterCallKitPlugin.swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants