Panagiotis Triantafyllou

SDK INIT changes2

1 package warp.ly.android_sdk; 1 package warp.ly.android_sdk;
2 2
3 +import android.app.Application;
3 import android.content.res.Configuration; 4 import android.content.res.Configuration;
4 5
5 import ly.warp.sdk.receivers.WarplyBeaconsApplication; 6 import ly.warp.sdk.receivers.WarplyBeaconsApplication;
6 7
7 -public class WarplyAndroidSDKApplication extends WarplyBeaconsApplication { 8 +public class WarplyAndroidSDKApplication extends /*WarplyBeaconsApplication*/ Application {
8 9
9 // =========================================================== 10 // ===========================================================
10 // Constants 11 // Constants
......
...@@ -33,7 +33,7 @@ public class SplashActivity extends BaseActivity { ...@@ -33,7 +33,7 @@ public class SplashActivity extends BaseActivity {
33 super.onCreate(savedInstanceState); 33 super.onCreate(savedInstanceState);
34 setContentView(R.layout.activity_splash); 34 setContentView(R.layout.activity_splash);
35 35
36 - mWarplyInitializer = Warply.getInitializer(this, new WarplyReadyCallback() { 36 + mWarplyInitializer = Warply.getWarplyInitializer(this, new WarplyReadyCallback() {
37 @Override 37 @Override
38 public void onWarplyReady() { 38 public void onWarplyReady() {
39 if (WarplyDBHelper.getInstance(SplashActivity.this).isTableNotEmpty("auth")) { 39 if (WarplyDBHelper.getInstance(SplashActivity.this).isTableNotEmpty("auth")) {
...@@ -58,7 +58,7 @@ public class SplashActivity extends BaseActivity { ...@@ -58,7 +58,7 @@ public class SplashActivity extends BaseActivity {
58 @Override 58 @Override
59 protected void onResume() { 59 protected void onResume() {
60 super.onResume(); 60 super.onResume();
61 - mWarplyInitializer.initWithPermissions(this); 61 +// mWarplyInitializer.initWithPermissions(this);
62 } 62 }
63 63
64 private void checkForAppUpdate() { 64 private void checkForAppUpdate() {
......