question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It always open either PlayStore

See original GitHub issue

This is code in my app always opens Instagram in the Play Store.

AppLink.maybeOpenURL("com.whatsapp", { appName: "Whatsapp", appStoreId: "", playStoreId: "com.whatsapp" })

Please what could I be doing wrong

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
FiberJWcommented, Feb 15, 2018

Here’s what you want, I can confirm it works:

AppLink.maybeOpenURL('whatsapp://send', {
      appName: 'WhatsApp',
      appStoreId: '',
      playStoreId: 'com.whatsapp',
    });

Snack Link: https://snack.expo.io/SJpWmBmwG, just run on your android phone

0reactions
FiberJWcommented, Feb 15, 2018

Maybe you simply don’t have Whatsapp installed on your device? The code I proposed seems to fulfill your needs, opening Whatsapp right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google play store is automatically opening while using other ...
So back to the point: How to stop play store opening automatically? T... ... Check whether you are connected to a Wi-Fi connection...
Read more >
How To Fix GOOGLE PLAY STORE Stuck At Bootloop or ...
0:00 · New! Watch ads now so you can enjoy fewer interruptions. Got it ...
Read more >
Fix problems downloading apps from the Play Store
Try the steps below if: Your downloads and app updates get stuck and won't finish. You can't download or install apps or games...
Read more >
Play Store won't open, load, or download apps? Here's how to ...
Open the Play Store then open the menu by tapping on your profile image at the top right. Go to Settings and select...
Read more >
Unfortunately Google Play Service Has Stopped? How to Fix It
Almost all Play Store failures are caused by either bad software or network issues. However, there is a major exception: The wrong version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found