We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d184c1 commit 5b58cbcCopy full SHA for 5b58cbc
Source/Client.swift
@@ -107,8 +107,8 @@ public class Client {
107
self.hostnames.insert("\(appID)-dsn.algolia.net", atIndex: 0)
108
}
109
110
-
111
- let version = NSBundle(identifier: "com.algolia.AlgoliaSearch")!.infoDictionary!["CFBundleShortVersionString"] as! String
+
+ let version = NSBundle(forClass: self.dynamicType).infoDictionary!["CFBundleShortVersionString"] as! String
112
var HTTPHeaders = [
113
"X-Algolia-API-Key": self.apiKey,
114
"X-Algolia-Application-Id": self.appID,
0 commit comments