Can't get getStoreUrl() working
See original GitHub issueHello. 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:
- Created 5 years ago
- Reactions:8
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
const id = { appID:yourAppID, appName: yourAppName } const playStoreUrl = await VersionCheck.getStoreUrl(id) Solved the issue by above method . now it works fine for me
@kimxogus So
appID
andappName
are required when callinggetStoreUrl
(andgetAppStoreUrl
)? The example in the README callsgetStoreUrl
with no parameters, so I thought I could too.I’m really looking forward to improve my previous implementation with this lib! 😄