open jamkazam:// custom url in same window
This commit is contained in:
parent
98dbb358bd
commit
a388d5e1d0
|
|
@ -16,7 +16,7 @@ const JKCustomUrlSchemaHandle = () => {
|
|||
|
||||
useEffect(() => {
|
||||
if (urlScheme) {
|
||||
window.open(urlScheme, "_blank");
|
||||
window.open(urlScheme, '_self');
|
||||
}
|
||||
}, [urlScheme]);
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ const JKNewMusicSession = () => {
|
|||
const q = `privacy~${payload.privacy}|description~${payload.description}|inviteeIds~${payload.inviteeIds}`;
|
||||
//const urlScheme = jkCustomUrlScheme('createSession', q);
|
||||
//window.location.href = urlScheme;
|
||||
//history.push(`/applaunch?${q}`);
|
||||
history.push(`/applaunch?${q}`);
|
||||
} catch (error) {
|
||||
toggleAppUnavilableModel();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue