Mobile app redirection
Is there a way to redirect android / ios app after login to dashboard
We try this but didn't work.
onDrawerLoginMenu() { this.onHomeMenu(); this.drawerClose(); return true; }
add there something like
this.injectJavaScript(`window.location = '${BASE_URL}page/dashboard';`);
UNA Operator Alex T⚜️
-
-
·
Alex T⚜️
- ·
To redirect user to some other page instead of homepage after login in mobile app
Try to change all occurrences of
${BASE_URL}?skin=${TEMPLATE}
in App.js to
${BASE_URL}?relocate=ABC&skin=${TEMPLATE}
Where ABC is URL where you want user redirect to after login
-
·
Alex T⚜️
-
- · Scholar
-
·
In reply to Alex T⚜️
- ·
Alex T⚜️ I've UNA installed in a subdirectory (www.root.com/una), and I want the application to open on our main website (www.root.com) before clicking on login/signup. If I change the BASE_URL to (www.root.com), all the pages of the app will not work as they use the BASE_URL to direct users to different UNA pages. If I set the BASE_URL to (www.root.com/una) the users will not see our main landing page as they will be directed to the login page of UNA. How can we keep the BASE_URL to (www.root.com/una) while directing users to our main page (www.root.com) when they first open the app?
-
I think it's better to create such page inside UNA, you can enable Splash and create custom page.