Quellcode durchsuchen

rn: finally fix Android deep-linking

The URL cannot end in a /.
master
Saúl Ibarra Corretgé vor 6 Jahren
Ursprung
Commit
f3c83f6e6d
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      react/features/deep-linking/functions.js

+ 1
- 1
react/features/deep-linking/functions.js Datei anzeigen

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.

Laden…
Abbrechen
Speichern