File tree 1 file changed +5
-2
lines changed
iterableapi/src/main/java/com/iterable/iterableapi
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1367,8 +1367,11 @@ private void handleDDL(JSONObject response) {
1367
1367
IterableLogger .d (TAG , "handleDDL: " + response );
1368
1368
try {
1369
1369
MatchFpResponse matchFpResponse = MatchFpResponse .fromJSONObject (response );
1370
- IterableAction action = IterableAction .actionOpenUrl (matchFpResponse .destinationUrl );
1371
- IterableActionRunner .executeAction (getMainActivityContext (), action , IterableActionSource .APP_LINK );
1370
+
1371
+ if (matchFpResponse .isMatch ) {
1372
+ IterableAction action = IterableAction .actionOpenUrl (matchFpResponse .destinationUrl );
1373
+ IterableActionRunner .executeAction (getMainActivityContext (), action , IterableActionSource .APP_LINK );
1374
+ }
1372
1375
} catch (JSONException e ) {
1373
1376
IterableLogger .e (TAG , "Error while handling deferred deep link" , e );
1374
1377
}
You can’t perform that action at this time.
0 commit comments