[ad_1]
I’ve been discovering resolution for a very long time…
Just lately, I discovered that [Flutter Siri Suggestion]package deal will make [Firebase DynamicLink] insert nil worth and trigger my app crashed!
However I am completely new to Swift and do not know alter this code, Can anybody assist me to repair this drawback?
Thanks very a lot!!
NSMutableDictionary *dict = [@{ @"title": userActivity.title, @"key" : [userActivity.activityType stringByReplacingOccurrencesOfString:[NSString stringWithFormat:@"%@-", kPluginName] withString:@""] } mutableCopy];
I must keep away from inserting nil worth to “key”, or there will likely be error!
[ad_2]

