Procházet zdrojové kódy

rn: finally fix Android deep-linking

The URL cannot end in a /.
j8
Saúl Ibarra Corretgé před 6 roky
rodič
revize
f3c83f6e6d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      react/features/deep-linking/functions.js

+ 1
- 1
react/features/deep-linking/functions.js Zobrazit soubor

54
         const url = href.replace(regex, '').substr(2);
54
         const url = href.replace(regex, '').substr(2);
55
         const pkg = interfaceConfig.ANDROID_APP_PACKAGE || 'org.jitsi.meet';
55
         const pkg = interfaceConfig.ANDROID_APP_PACKAGE || 'org.jitsi.meet';
56
 
56
 
57
-        return `intent://${url}/#Intent;scheme=${appScheme};package=${pkg};end`;
57
+        return `intent://${url}#Intent;scheme=${appScheme};package=${pkg};end`;
58
     }
58
     }
59
 
59
 
60
     // iOS: Replace the protocol part with the app scheme.
60
     // iOS: Replace the protocol part with the app scheme.

Načítá se…
Zrušit
Uložit