tapsandswipes / InterAppCommunication

x-callback-url made easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App crashes if no 'Bundle display name' set in info.plist

Shahan opened this issue · comments

commented

In this line(https://github.com/tapsandswipes/InterAppCommunication/blob/master/InterAppCommunication/IACManager.m#L200 ) you add NSDictionary to final_url, but this NSDictionary will always contain nil object by default, because it comes from localizedName (https://github.com/tapsandswipes/InterAppCommunication/blob/master/InterAppCommunication/IACManager.m#L251). This function just takes data from info.plist. If there is no such data in Info.plist, function will return nil pointer and Application will crash.

So, please, add NOTE to your documentation, that it's IMPORTANT to add key 'Bundle display name' in Info.plist, otherwise application will crash.