Razorpay Mar 24, 2022

Deep Linking Implementation in React Native

Article Summary

Nikhil Khadilkar from Razorpay reveals why their team rejected React Navigation's built-in deep linking solution and built their own custom handler instead. The reason? Complex use cases that required more control than off-the-shelf solutions could provide.

Razorpay's engineering team needed to implement deep linking across their React Native payments app for marketing campaigns, user retention, and seamless web-to-mobile transitions. They evaluated third-party solutions (Appsflyer, Branch, Firebase) and ultimately chose a hybrid approach combining Appsflyer onelinks with native Universal Links and App Links.

Key Takeaways

Critical Insight

Razorpay successfully implemented scalable deep linking by building a custom handler that separates routing logic from presentation, supporting multiple link sources and complex navigation scenarios including logged-out user flows.

The article reveals a critical mistake teams make when testing Universal Links in staging environments and the surprising workaround that actually works.

Recent from Razorpay

Related Articles