Skip to content

Commit f6c331b

Browse files
author
oleg-vyalyh
authored
Merge pull request #360 from Backendless/oleg.vyalyh/18065/initApp_exception
BKNDLSS-18065 setUrl in Android SDK causes exception in initializer
2 parents a4851b0 + 74201c0 commit f6c331b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'signing'
55

66

77
group 'com.backendless'
8-
version '5.2.3'
8+
version '5.2.4'
99
archivesBaseName='backendless'
1010

1111

src/com/backendless/AndroidBackendlessPrefs.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ private synchronized AuthKeys getAuthKeys()
115115
if( authKeys == null )
116116
restoreAuthKeysFromPreferences();
117117

118+
if (authKeys == null)
119+
throw new IllegalStateException( ExceptionMessage.NOT_INITIALIZED );
120+
118121
return authKeys;
119122
}
120123

0 commit comments

Comments
 (0)