Cannot read property 'urlScheme' of undefined
See original GitHub issueHere 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:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top 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 >
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
i think its good to add this info in README
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.