You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
I would like having another way to add and remove subscriptions to the methods of the current delegate.
Describe alternatives you've considered
Using alternatives like this hypery2k/nativescript-urlhandler#24 (comment) but that makes working with deep linking, etc from NativeScript cumbersome, because most people who use UIApplicationDelegate don't use that strategy (A lot of plugins).
Additional context
It's required because we don't have an unified API to get the initial URL of the app, etc, like this: https://reactnative.dev/docs/linking This is very important for most of the apps, using deep linking, etc.
Thanks for your help!
Another plugin maker
The text was updated successfully, but these errors were encountered:
@jdnichollsc Thanks for tracking this 👍 We're looking at ways to improve the delegate extensions and overrides. In meantime have you tried doing it this way?
@NathanWalker interesting, let me check! Is this example going to override methods of another plugins like applicationDidFinishLaunchingWithOptions, etc? Can we include that example from official docs?
Is your feature request related to a problem? Please describe.
I'm always frustrated when I need to use iOS delegates but other plugins overwrite that behavior because oficial docs only show that example:
ios.delegate = MyDelegate;
=> https://docs.nativescript.org/core-concepts/application-lifecycle#ios-uiapplicationdelegateDescribe the solution you'd like
I would like having another way to add and remove subscriptions to the methods of the current delegate.
Describe alternatives you've considered
Using alternatives like this hypery2k/nativescript-urlhandler#24 (comment) but that makes working with deep linking, etc from NativeScript cumbersome, because most people who use UIApplicationDelegate don't use that strategy (A lot of plugins).
Additional context
It's required because we don't have an unified API to get the initial URL of the app, etc, like this: https://reactnative.dev/docs/linking This is very important for most of the apps, using deep linking, etc.
Thanks for your help!
Another plugin maker
The text was updated successfully, but these errors were encountered: