File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
core/src/main/java/io/snabble/sdk Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to this project will be documented in this file.
33
4+ ## [ 0.50.6]
5+
6+ ### Fixed
7+ - Change initialization order within projects
8+
49## [ 0.50.5]
510
611### Changed
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ allprojects {
3131 }
3232
3333 project. ext {
34- sdkVersion= ' 0.50.5 '
34+ sdkVersion= ' 0.50.6 '
3535 versionCode= 1
3636
3737 compileSdkVersion= 31
Original file line number Diff line number Diff line change @@ -90,16 +90,16 @@ public class Project {
9090 Project (JsonObject jsonObject ) throws IllegalArgumentException {
9191 snabble = Snabble .getInstance ();
9292 coupons = new Coupons (this );
93-
94- parse (jsonObject );
95-
96- internalStorageDirectory = new File (snabble .getInternalStorageDirectory (), id + "/" );
9793 okHttpClient = Snabble .getInstance ().getOkHttpClient ()
9894 .newBuilder ()
9995 .addInterceptor (new SnabbleAuthorizationInterceptor (this ))
10096 .addInterceptor (new AcceptedLanguageInterceptor ())
10197 .build ();
10298
99+ parse (jsonObject );
100+
101+ internalStorageDirectory = new File (snabble .getInternalStorageDirectory (), id + "/" );
102+
103103 boolean generateSearchIndex = snabble .getConfig ().generateSearchIndex ;
104104
105105 productDatabase = new ProductDatabase (this , id + ".sqlite3" , generateSearchIndex );
You can’t perform that action at this time.
0 commit comments