Saturday, November 21, 2026
HomeiOS DevelopmentIs there any technique to open put in app from IOS gadget...

Is there any technique to open put in app from IOS gadget utilizing react-native

[ad_1]

I’m utilizing react native 64.0.3 and making an attempt to open put in app from iphone X(ios 15), however getting an error ‘Error: Unable to open URL: bkash://undefined. Add bkash to LSApplicationQueriesSchemes in your Information.plist’. I used to be making an attempt to open the app utilizing react-native-app-link & react-native-check-app-install packages. Right here is the data.plist:

<key>LSApplicationQueriesSchemes</key>
    <array>
        <string>bkash</string>
    </array>

And right here is my handler:

const handlePress = async () => {
    let getUrl="https://apps.apple.com/us/app/bkash/id1351183172";
    await AppInstalledChecker
    .checkURLScheme('bkash') // omit the :// suffix
    .then((isInstalled) => {
      if(isInstalled){
        Linking.openURL(getUrl)
      }
    })
}

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments