0

How to open link like viber://chat... & tg://... in React Native with standard Linking.

              <TouchableOpacity onPress={() => { Linking.openURL(`viber://chat?number=0123456789`); }}>
            <View style={styles.messengerBlock} >
              <Image source={{ uri: 'viber' }} style={styles.messengerIcon} resizeMode={'contain'} />
              <Text style={styles.messengerText}>Viber</Text>
            </View>
1
  • If your question has been answered, please make sure to accept an answer for further references. Commented Jun 27, 2018 at 6:43

2 Answers 2

1

On Viber you can only open these links: https://developers.viber.com/docs/tools/deep-links/

Sign up to request clarification or add additional context in comments.

Comments

1

If you want to open another app in your app, you can use react-native-app-link.

If you want your app be opened with deep linking, such as:

myApp://case/1

then take a look at this article.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.