From 2eaea9f191b6aef1cd8f4d6905d9f8972ef145e6 Mon Sep 17 00:00:00 2001 From: Zeeshan Sheikh <64203935+zeeshanmakeen@users.noreply.github.com> Date: Tue, 5 Mar 2024 17:54:32 +0500 Subject: [PATCH] Added getLocationClient function --- Sources/AmazonLocationiOSAuthSDK/AuthHelper.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Sources/AmazonLocationiOSAuthSDK/AuthHelper.swift b/Sources/AmazonLocationiOSAuthSDK/AuthHelper.swift index 2e30130..6f2db31 100644 --- a/Sources/AmazonLocationiOSAuthSDK/AuthHelper.swift +++ b/Sources/AmazonLocationiOSAuthSDK/AuthHelper.swift @@ -1,5 +1,6 @@ import AWSCore import AWSMobileClientXCF +import AWSLocationXCF public class AuthHelper { @@ -39,4 +40,8 @@ public class AuthHelper { credentialProvider.setRegion(region: region) return credentialProvider } + + public func getLocationClient() -> AWSLocation { + return AWSLocation.default() + } }