react\ go back 2 screens code example Example: react native navigate two screens back navigation.pop(n); // n = number of screens to go back.