Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[iOS] Fix crash if the app display name is not set

Piérre Reimertz6f8f64ba48a4
diff --git a/ios/sdk/src/AppInfo.m b/ios/sdk/src/AppInfo.m
index 2bc0aacb14..9db363894a 100644
--- a/ios/sdk/src/AppInfo.m
+++ b/ios/sdk/src/AppInfo.m
@@ -32,6 +32,12 @@ RCT_EXPORT_MODULE();
NSString *name = infoDictionary[@"CFBundleDisplayName"];
NSString *version = infoDictionary[@"CFBundleShortVersionString"];
+ if (name == nil) {
+ name = infoDictionary[@"CFBundleName"];
+ if (name == nil) {
+ name = @"";
+ }
+ }
if (version == nil) {
version = infoDictionary[@"CFBundleVersion"];
if (version == nil) {