An interface that displays the logo is implemented using weex. After clicking or the countdown ends, the main interface is entered.
If you press the return key on your phone at this time, you will return to the previous logo interface. Is there any way to clear the previous logo interface?
Do I have to add my own model to adapt to the clearing?
Weex’s interface IActivityNavBarSetter, I wonder if it can be adapted to achieve this function?
After trying it, I found that the current interface can be cleared through navigator.pop. After calling navigator.push to the new interface, call navigator.pop immediately to realize that the history record does not have this interface.
This is the simplest solution. If it is more complicated, you need to modify the native layer.