Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide option to not blindly foreground app's lastWindow from deepLi…
…nks (microsoft#1355) Messenger Desktop is a multi-window application (chat, calling, settings, …) and we maintain the various windows with a windowNativeModule which allows JS interaction. When receiving deep-links from other apps we don’t want to necessary re-open the lastWindow open as the deep-link might contain information about a particular scenario (open login page, start a call). Hence, we need to disable this behavior app wide and use our windowNativeModule to forward the specific window related to the deep link. - This change has 0 effect on other apps - We could make this property an ivar, but then we need to manually register RCTLinkingManager.mm …. - We could append a special url property to deep-links, but I think that would make the ‘API’ harder to use`
- Loading branch information