0

Wie gesetzt Deep Link in Pushwoosh, möchte ich offene Seite usw. page.html? Id = 1 Ich benutze VS 2015 und Apache Cordova für Android.Set Deep Link in Pushwoosh

Hier ist documentation aber ich verstehe nicht, wie gesetzt, dass!

Ich bin com.pushwoosh: //page.html? Id = 1, aber nicht offen!

Antwort

0

Ich empfehle die Verwendung https://github.com/nordnet/cordova-universal-links-plugin Es ist super einfach tiefe Verbindungen für Cordova dort einzustellen und es funktioniert mit Pushwoosh Deep Linking-Funktionalität.

Um cordova Config add:

<universal-links> 
<host name="sample.com" scheme="pushwoosh" event="ul_myExampleEvent" /> 
</universal-links> 

Um Ihren Code hinzu:

universalLinks.subscribe('ul_myExampleEvent', function (eventData) { 
// do some work 
// in eventData you'll see url и and parsed url with schema, host, path and arguments 
console.log('Did launch application from the link: ' + JSON.stringify(eventData)); 
alert('Did launch application from the link: ' + JSON.stringify(eventData)); 

});

Verwenden Sie dann einfache Umleitung mit Cordova. Das war's!

P.S. Ich füge das dem Führer hinzu. Vielen Dank!

Verwandte Themen