ios - App not firing as expected when launched with a deeplink -
i using https://branch.io/ in ios app.
i followed documentation in start.branch.io set deeplink.
it works point. continuously thrown safari , place on appstore download app, when app should fired.
here code in case:
- (bool)application:(uiapplication*)application didfinishlaunchingwithoptions:(nsdictionary*)launchoptions { branch *branch = [branch getinstance]; [branch initsessionwithlaunchoptions:launchoptions andregisterdeeplinkhandler:^(nsdictionary *params, nserror *error) { if (!error && params && [params objectforkey:@"xp"]) { // things parameter xp! } }]; return yes; } - (bool)application:(uiapplication *)application continueuseractivity:(nsuseractivity *)useractivity restorationhandler:(void (^)(nsarray *restorableobjects))restorationhandler { bool handledbybranch = [[branch getinstance] continueuseractivity:useractivity]; return handledbybranch; }
what may wrong in did? somewhere in settings? tip welcome.
alex branch here: sounds universal links configuration isn't complete yet. guide on start.branch.io needs bit of revision...my apologies. give our main universal links setup guide , let me know if you're still running trouble!
Comments
Post a Comment