-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
In some places, bluemix.net is hardcoded. At the minimum, this must be upgraded to cloud.ibm.com, if not removed entirely.
PushSDKCredentials.swift - CloudEnvironment can be used on other cloud providers (esp given OpenShift will be coming…) but in this code I see “bluemix.net” hardcoded - is that supposed to be there?
guard let host = url.host,
host.hasSuffix(“.bluemix.net”)
else{
return nil
}
let parts = host.split(separator: “.”).suffix(3)
guard parts.count > 2 && parts.first != “imfpush” else {
return nil
}
return parts.joined(separator: “.”)
}```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels