In an app, open the same offerwall link you would use on the web, with the signed-in user’s ID:
Create a separate placement for each platform, Android and iOS, so each one gets its own link and reports. See Placements.
Recommended: an in-app browser
Chrome Custom Tabs on Android and SFSafariViewController on iOS take a few lines of code, and they open app store links from offers correctly, with no extra handling.
React Native and Flutter apps can do the same with an in-app browser package, such as expo-web-browser or url_launcher with LaunchMode.inAppBrowserView.
Alternative: a WebView
If you show the offerwall inside your own screen, enable JavaScript and storage, keep offerwall pages in the WebView and send every other link (offers and app store pages) to the system, so installs open the store app.
Test an app install offer on a real device before you release: tapping it should open the Play Store or the App Store.