[英]Android Intent survives through app relaunch / Airbnb deep link survives through app relaunch
We used this Airbnb deep link dispatch lib in our app. 我们在应用程序中使用了此Airbnb深度链接分发库。
https://github.com/airbnb/DeepLinkDispatch https://github.com/airbnb/DeepLinkDispatch
Below is the issue app is facing. 以下是应用程序面临的问题。
I know it is how it works in Android. 我知道这是Android中的工作方式。 But is there a way in this lib or in Android to solve it ?
但是在这个lib或Android中有没有解决的方法?
It was not an issue with Airbnb library but that is how it works with Android. 这不是Airbnb库的问题,而是Android系统的工作方式。 When launched from recents after killing app with back key , Android posts the previous intent that was used to launch app.
在使用后退键杀死应用程序后从最新消息启动时,Android会发布用于启动应用程序的先前意图。
Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS indicates if app launched from history/recent screen. Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS指示应用程序是否从历史/最近屏幕启动。 This flag can be used to handle any logic.
该标志可用于处理任何逻辑。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.