You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libs/SalesforceSDK/src/com/salesforce/androidsdk/app/SalesforceSDKManager.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@ open class SalesforceSDKManager protected constructor(
242
242
set(value) {
243
243
field = value
244
244
245
-
val loginHost = loginServerManager.selectedLoginServer.url.toUri().host
245
+
val loginHost = loginServerManager.selectedLoginServer?.url?.toUri()?.host
246
246
if (loginHost ==null) {
247
247
w(javaClass.name, "Cannot initialize Salesforce App Attestation Client since the selected login server URL doesn't have a host. Authentication may malfunction.")
0 commit comments