adobe / aepsdk-target-ios

Adobe Experience Platform - Target extension built with Swift
Apache License 2.0
0 stars 15 forks source link

Fix behavior for empty target.server configuration setting for Target #72

Closed swarna04 closed 3 years ago

swarna04 commented 3 years ago

If custom Target server is empty/ not configured, use previously persisted edge host. If not present, fallback to the configured Target client code for the host name in Target requests.

https://github.com/adobe/aepsdk-target-ios/blob/dev/AEPTarget/Sources/Target.swift#L532

if let targetServer = targetServer, !targetServer.isEmpty {...}