Created
April 29, 2020 04:23
-
-
Save andreferi3/99dbfaf346493d1aa49db331368f8617 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openPlayStore() { | |
| const appStoreLink = 'itms://apps.apple.com/us/app/koperasi-namastra/id1487403555' | |
| const playStoreLink = 'market://details?id=com.namastra_mobile_ver_2' | |
| const url = Platform.OS === 'ios' ? appStoreLink : playStoreLink | |
| Linking.openURL(url) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment