Skip to content

Commit dcd2d94

Browse files
committed
deep link workaround for Android
Signed-off-by: Clécio Varjão <1348549+cvarjao@users.noreply.github.com>
1 parent 4df230a commit dcd2d94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/App.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ const App = () => {
5656
}
5757

5858
useEffect(() => {
59+
// this block fixes an issue when deep-link doesn't work
60+
// when the app is fully terminated on Android.
61+
// TODO: review and look for a fix
5962
async function getInitialURL() {
6063
const url = await Linking.getInitialURL()
6164
const logger = bcwContainer.resolve(TOKENS.UTIL_LOGGER)

0 commit comments

Comments
 (0)