Skip to content

Commit dff744d

Browse files
committed
patch for Android Build CI
1 parent 48a4cad commit dff744d

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

  • example/android/app/src/main/java/com/appsflyer/qa/reactnative

‎example/android/app/src/main/java/com/appsflyer/qa/reactnative/MainActivity.kt‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package com.appsflyer.qa.reactnative
22

33
import android.content.Intent
44
import android.util.Log
5-
import com.appsflyer.AppsFlyerLib
65
import com.facebook.react.ReactActivity
76
import com.facebook.react.ReactActivityDelegate
87
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
@@ -19,12 +18,5 @@ class MainActivity : ReactActivity() {
1918
super.onNewIntent(intent)
2019
Log.d("AF_QA", "[AF_QA][DEEPLINK_NATIVE] onNewIntent: ${intent.data}")
2120
setIntent(intent)
22-
// Forward to SDK before onResume stamps the URI with af_consumed=true.
23-
// Without this, warm-app VIEW intents are silently consumed and the
24-
// registered DeepLinkListener never fires.
25-
val url = intent.data?.toString()
26-
if (url != null) {
27-
AppsFlyerLib.getInstance().performDeepLinking(url, true)
28-
}
2921
}
3022
}

0 commit comments

Comments
 (0)