I'm trying to add dynamic links support to ios app. In AppDelegate.m when I add
- (BOOL)application:(UIApplication *)application
continueUserActivity:(NSUserActivity *)userActivity
restorationHandler:(void (^)(NSArray *))restorationHandler {
return [[RNFirebaseLinks instance] application:application continueUserActivity:userActivity restorationHandler:restorationHandler];
}
I'm getting this warning:
Conflicting parameter types in implementation of 'application:continueUserActivity:restorationHandler:': 'void (^ _Nonnull __strong)(NSArray
> * _Nullable __strong)' vs 'void (^__strong _Nonnull)(NSArray *__strong)'
Should I ignore this or is this a bug?
iOS
macOS 10.14
xcode 10, iOS 12
React Native
version:0.57
React Native Firebase
Version:5.0.0
Firebase
Module:Dynamic Links (5.9.0)
typescript
?no
Loving react-native-firebase
? Please consider supporting them with any of the below:
React Native Firebase
and Invertase
on TwitterHello 馃憢, this issue has been automatically marked as stale because it has not had activity for quite some time. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this is still present in the latest release, please feel free to create a new issue with up-to-date information.
@levani same problem. Did you find any solution ?
Yes but can't really remember what was it. sorry.
@appli-intramuros did you find a solution to this please?
Did anyone found a solution for this ?
I got this to work by using
- (BOOL)application:(UIApplication *)application
continueUserActivity:(nonnull NSUserActivity *)userActivity
restorationHandler: (nonnull void (^)(NSArray<id<UIUserActivityRestoring>> *_Nullable))restorationHandler {
return [[RNFirebaseLinks instance] application:application
continueUserActivity:userActivity
restorationHandler:restorationHandler];
}
Most helpful comment
I got this to work by using