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.

Cannot read property 'urlScheme' of undefined

See original GitHub issue

Here the react-native environment

"react": "16.0.0-alpha.6",
"react-native": "^0.44.0",
"react-native-check-app-install": "0.0.2"

XCode environment

Xcode 8.3.2

Tried to look for linkedin url schema but I get the following error msg Cannot read property 'urlScheme' of undefined

import { AppInstalledChecker, CheckPackageInstallation } from 'react-native-check-app-install'

AppInstalledChecker
        .isAppInstalledIOS('linkedin') // omit the :// suffix
        .then((isInstalled) => {
            console.log(isInstalled)
        })

Is there any way to determine whether LinkedIn is installed or not?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
ButuzGOLcommented, Oct 4, 2018

i think its good to add this info in README

2reactions
redpandatronicsukcommented, Jul 23, 2017

Have you added linkedin:// to your info.plist? They changed some security things since iOS 9, so you need to allow your app first to check for URL. See here: https://github.com/redpandatronicsuk/react-native-check-app-install/issues/1#issuecomment-297018912 If this fixes the issue for me, please let me know. Then I’ll add those extra steps to the README to make it clearer for other people who might run into the same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

fetch api cannot load, url scheme 'file' is not supported
Since your URL is relative (it's just "hi.txt" ), it's resolved against the URL of the page the code is running in.
Read more >
Android build settings not accepting URL scheme - Build issue
In console it says 'Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'find')' when typing to URL scheme input ...
Read more >
Defining a custom URL scheme for your app - Apple Developer
URL scheme registration specifies which URLs to redirect to your app. ... multiple apps register the same scheme, the app the system targets...
Read more >
Cannot read property 'getHours' of undefined - Telerik Forums
Cannot read property 'getHours' of undefined. 1 Answer 301 Views. Scheduler ... Read(read => read. ... Url.Scheme) + "?
Read more >
Error "Cannot read property 'platform' of undefined" when ...
Error "Cannot read property 'platform' of undefined" when building Asset Manager MDK application ... to use URL Scheme: samclient.
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