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.

Can't get getStoreUrl() working

See original GitHub issue

Hello. I’m trying to use VersionCheck.getStoreUrl() to get the url and link it to button, but i’m getting following error on console:

Error: At least one of appID and appName is empty.
Error: At least one of appID and appName is empty.

Do i have to set the app id and name manually?

I don’t have any problem with other methods, such as VersionCheck.needUpdate, it fetches the correct versioning from the stores.

Thanks.

"react-native": "0.57.5"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
saraswathirbtcommented, Apr 17, 2019

const id = { appID:yourAppID, appName: yourAppName } const playStoreUrl = await VersionCheck.getStoreUrl(id) Solved the issue by above method . now it works fine for me

1reaction
jenskuhrjorgensencommented, Apr 9, 2019

@kimxogus So appID and appName are required when calling getStoreUrl (and getAppStoreUrl)? The example in the README calls getStoreUrl with no parameters, so I thought I could too.

I’m really looking forward to improve my previous implementation with this lib! 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get base url with jquery or javascript? - Stack Overflow
I think this will work well for you: var base_url = window.location.origin; var host = window.location.host; var pathArray = window.location.pathname.split( ...
Read more >
How to get Magento 2 base URL?
Simply use this command if you are using a class that extends \Magento\Framework\View\Element\Template . $this->getBaseUrl(). If not, you can use this: $this-> ...
Read more >
How to Find Your Default Shopify Domain & Store URL
Learn where to find your default Shopify-managed domain (i.e. myshopify.com) and store URL.
Read more >
Verify and claim your store's website - Google Support
Click the Website tab. Enter the URL for your online store, starting with http:// or https://. Use a domain that you own and...
Read more >
All windows store URL's in intune don't work if they begin with ...
When I try to add an app in intune to deploy, I choose "Microsoft Store App". Any URL I enter from the microsoft...
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