File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,5 @@ package-lock.json
8
8
npm-debug.log *
9
9
yarn-error.log *
10
10
.vscode
11
+ .idea
12
+ src /android /.idea
Original file line number Diff line number Diff line change @@ -68,16 +68,14 @@ public BranchSDK() {
68
68
*/
69
69
@ Override
70
70
protected void pluginInitialize () {
71
+ PrefHelper .Debug ("pluginInitialize" );
71
72
72
73
this .activity = this .cordova .getActivity ();
73
-
74
+ Branch . enableLogging ();
74
75
Branch .disableInstantDeepLinking (true );
75
76
BranchUtil .setPluginType (BranchUtil .PluginType .CordovaIonic );
76
77
if (this .instance == null ) {
77
78
this .instance = Branch .getAutoInstance (this .activity .getApplicationContext ());
78
- PrefHelper .Debug ("pluginInitialize, creating new Branch instance" );
79
- } else {
80
- PrefHelper .Debug ("pluginInitialize, Branch instance already exists" );
81
79
}
82
80
}
83
81
@@ -295,7 +293,6 @@ private void initSession(CallbackContext callbackContext) {
295
293
}
296
294
297
295
this .sessionListener = new SessionListener (callbackContext );
298
- Branch .enableLogging ();
299
296
PrefHelper .Debug ("BranchSDK.initSession" );
300
297
this .instance .initSession (this .sessionListener , data , activity );
301
298
}
You can’t perform that action at this time.
0 commit comments