My app needs to be able to open a custom type of files from an email. Everything worked at first, but I noticed at some point that it's not working anymore in case of trying to open the file while the app is in the background, but still works fine when app is not running.
I'm trying to get the URL of the file from the AppDelegate method -application:openURL:options: which is never called.
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
NSLog(@"Open URL fired !");
[self handleURL:url];
}
Since it's works when the app is closed, I'm pretty sure the custom file type is correctly set.
Anyone having a suggestion ?
Thanks