We constantly publish updates to our documentation, which may not yet be available in your language. For the most current information, use the English version.
Adjust를 통해 딥링크를 사용하여 리인게이지먼트 캠페인을 집행할 수 있습니다. 자세한 정보는 Adjust의 어트리뷰션 데이터를 딥링크에 추가하는 방법을 참조하시기 바랍니다.
사용자를 리어트리뷰션하려면 앱에서 Adjust SDK에 대해 추가적인 콜을 수행해야 합니다. 앱이 딥링크 컨텐츠를 수신하면 appWillOpenUrl(Uri, Context) 메서드에 콜을 추가합니다. 이후 Adjust SDK는 딥링크 내에서 새로운 어트리뷰션 데이터를 찾을 것입니다. SDK가 새로운 정보를 찾으면 이는 리어트리뷰션을 위해 Adjust 백엔드로 전달됩니다.
import com.adjust.sdk.flutter.AdjustSdk
import io.flutter.embedding.android.FlutterActivity
// Used for post flutter 1.12 Android projects
//import io.flutter.app.FlutterActivity
class MainActivity : FlutterActivity() {
// Either call make the call in onCreate.
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// GeneratedPluginRegistrant.registerWith(this)
// Used only for pre flutter 1.12 Android projects
Intent intent = getIntent()
Uri data = intent.getData()
AdjustSdk.appWillOpenUrl(data, this)
}
// Or make the call in onNewIntent.
override fun onNewIntent(intent: Intent?) {
super.onNewIntent(intent)
Uri data = intent.getData()
AdjustSdk.appWillOpenUrl(data, this)
}
}