How to get long-link from dynamic link when openin

2019-08-26 03:14发布

When I click on a dynamic link I will be redirected to the appstore and from there I download the app. What I really need is the long link of the dynamic link because I got data in it which I need to extract.

This method will be opened when I start the app for the first time:

-(Bool)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDICtionarry<NSString *, id>options).

1条回答
迷人小祖宗
2楼-- · 2019-08-26 03:34

Clarification of terms here: deep link -> this is what you will put inside dynamic link; long dynamic link -> dynamic link that has your deep link and bunch of parameters related to dynamic link behavior; short dynamic link - the same as long but has short representation;

To store more data you need to add your data as parameters to deep link. For example instead of deep link https://example.com you use https://example.com?promotionID=abc&openViewName=startingViewOptionB&loadImageOnPromo=imageSmall

Let me know if have questions.

查看更多
登录 后发表回答