Panagiotis Triantafyllou

crash fix

...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ...@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
2 2
3 ext { 3 ext {
4 PUBLISH_GROUP_ID = 'ly.warp' 4 PUBLISH_GROUP_ID = 'ly.warp'
5 - PUBLISH_VERSION = '4.5.4.6rc47' 5 + PUBLISH_VERSION = '4.5.4.6rc48'
6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk' 6 PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
7 } 7 }
8 8
......
...@@ -1586,6 +1586,9 @@ public enum Warply { ...@@ -1586,6 +1586,9 @@ public enum Warply {
1586 } 1586 }
1587 } 1587 }
1588 1588
1589 + if (INSTANCE.mRequestQueue == null)
1590 + INSTANCE.mRequestQueue = Volley.newRequestQueue(mContext);
1591 +
1589 if (tempAnalytics != null && tempAnalytics.length() > 0) { 1592 if (tempAnalytics != null && tempAnalytics.length() > 0) {
1590 String urlAnalytics = WarplyProperty.getBaseUrl(mContext) + WarpConstants.WARPLY_ASYNC + WarpConstants.WARPLY_ANALYTICS + WarplyProperty.getAppUuid(mContext) + "/"; 1593 String urlAnalytics = WarplyProperty.getBaseUrl(mContext) + WarpConstants.WARPLY_ASYNC + WarpConstants.WARPLY_ANALYTICS + WarplyProperty.getAppUuid(mContext) + "/";
1591 WarplyJsonArrayRequest requestAnalytics = new WarplyJsonArrayRequest(method, urlAnalytics, tempAnalytics, vt, vt); 1594 WarplyJsonArrayRequest requestAnalytics = new WarplyJsonArrayRequest(method, urlAnalytics, tempAnalytics, vt, vt);
......