@@ -69,10 +69,8 @@ public BranchSDK() {
69
69
*/
70
70
@ Override
71
71
protected void pluginInitialize () {
72
- PrefHelper .Debug ("pluginInitialize" );
73
72
74
73
this .activity = this .cordova .getActivity ();
75
- // Branch.enableLogging();
76
74
Branch .disableInstantDeepLinking (true );
77
75
BranchUtil .setPluginType (BranchUtil .PluginType .CordovaIonic );
78
76
if (this .instance == null ) {
@@ -294,7 +292,6 @@ private void initSession(CallbackContext callbackContext) {
294
292
}
295
293
296
294
this .sessionListener = new SessionListener (callbackContext );
297
- PrefHelper .Debug ("BranchSDK.initSession" );
298
295
this .instance .initSession (this .sessionListener , data , activity );
299
296
}
300
297
@@ -304,7 +301,6 @@ private void reInitSession() {
304
301
}
305
302
306
303
this .activity = this .cordova .getActivity ();
307
- PrefHelper .Debug ("BranchSDK.reInitSession" );
308
304
this .instance .reInitSession (this .activity , this .sessionListener );
309
305
}
310
306
@@ -992,7 +988,6 @@ public void onInitFinished(JSONObject referringParams, BranchError error) {
992
988
993
989
if (error == null && referringParams != null ) {
994
990
if (this ._callbackContext != null ) {
995
- PrefHelper .Debug ("success returning referringParams = " + referringParams );
996
991
this ._callbackContext .success (referringParams );
997
992
}
998
993
} else {
@@ -1003,7 +998,6 @@ public void onInitFinished(JSONObject referringParams, BranchError error) {
1003
998
e .printStackTrace ();
1004
999
}
1005
1000
if (this ._callbackContext != null ) {
1006
- PrefHelper .Debug ("fail returning error = " + error .getMessage ());
1007
1001
this ._callbackContext .error (message );
1008
1002
}
1009
1003
}
0 commit comments