Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't launch Evernote anymore using [[UIApplication sharedApplication] openURL:] #182

Open
imougy opened this issue Dec 24, 2020 · 1 comment

Comments

@imougy
Copy link
Contributor

imougy commented Dec 24, 2020

This API is deprecated and thus any app trying to launch Evernote will not function as of last week.
- (BOOL)openURL:(NSURL*)url API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
Thanks @zonabi @juanarzola

@imougy
Copy link
Contributor Author

imougy commented Feb 25, 2021

But the main reason for things not to relaunch is this code:-
BOOL IsEvernoteInstalled() { return [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"en://"]]; }
Should be
BOOL IsEvernoteInstalled() { return [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"https://www.evernote.com"]]; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant