Skip to content

Commit 13db161

Browse files
authored
Merge pull request #615 from adrianyg7/cpid-latd-stubs
bug(cpid-latd): stub cpid latd calls due to caching issue Looks good! merging to staging.
2 parents c596e38 + f8e1c8a commit 13db161

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/android/io/branch/BranchSDK.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,15 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
260260
}
261261

262262
public void crossPlatformIds(CallbackContext callbackContext) {
263-
this.instance.getCrossPlatformIds(new BranchCPIDListener(callbackContext));
263+
// stub call from known issue with caching
264+
// this.instance.getCrossPlatformIds(new BranchCPIDListener(callbackContext));
265+
callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK, false));
264266
}
265267

266268
public void lastAttributedTouchData(CallbackContext callbackContext) {
267-
this.instance.getLastAttributedTouchData(new BranchLATDListener(callbackContext), 30);
269+
// stub call from known issue with caching
270+
// this.instance.getLastAttributedTouchData(new BranchLATDListener(callbackContext), 30);
271+
callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK, false));
268272
}
269273

270274
//////////////////////////////////////////////////

0 commit comments

Comments
 (0)