Skip to content

Commit

Permalink
Added getLocationClient function
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanmakeen committed Mar 5, 2024
1 parent bde25d4 commit 2eaea9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/AmazonLocationiOSAuthSDK/AuthHelper.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import AWSCore
import AWSMobileClientXCF
import AWSLocationXCF

public class AuthHelper {

Expand Down Expand Up @@ -39,4 +40,8 @@ public class AuthHelper {
credentialProvider.setRegion(region: region)
return credentialProvider
}

public func getLocationClient() -> AWSLocation {
return AWSLocation.default()
}
}

0 comments on commit 2eaea9f

Please sign in to comment.