We are building an iOS app using React Native. I am trying to come up with a solution where users click on an URL in safari, they will get redirected to the specified page on the app. I was following the documentation, and had this into our code base.
let redirectUrl = Linking.createURL('path/appsname', {
queryParams: { id: 'users_id_num' },
});
It does get redirected to the app we are making from Safari, but no matter what value I threw into the queryParams key, it always get redirected to the home/landing page of our app, instead of the specified page we wanted to show. Am I using the wrong API here? or do I have to do some extra configuration in files likeapp.json?