Skip to content

Commit

Permalink
Merge pull request #3 from makeen-project/GetLocationClient
Browse files Browse the repository at this point in the history
Added getLocationClient function
  • Loading branch information
ejboucher authored Mar 6, 2024
2 parents bde25d4 + 2eaea9f commit 7871197
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 7871197

Please sign in to comment.