Configure Deep link for both web push and cordova push

Comments

4 comments

  • Avatar
    Ivan Skoritzky

    Hello,

    Please note, that Deep Links are unavailable for web platforms. Could it be possible to send pushes for mobile and web platforms separately? You can add DeepLink to the mobile push, and the simple link to the web push.

    Regards, Ivan

  • Avatar
    Christopher Messner

    Thanks for the response, Ivan! I just wanted to clarify for sure that it is not possible to have a single push be used for both a DeepLink and a simple link.

    I don't understand how sending separate pushes (mobile & web) would work. Since our system doesn't maintain the device types, as that is handled by Pushwoosh, I don't see how we would know when to send one or both pushes based on the registrations. We wouldn't want a user to receive multiple pushes on each platform for a single message, which seems like would be the result. Do I misunderstand your idea?

  • Avatar
    Ivan Skoritzky

    Hello,

    May I ask you how you are going to send messages, via Pushwoosh Control Panel or via API?

    You can set the platform to which the push will be sent (web or mobile) in our Control Panel or in your /createMessage request using platforms API parameter.

    For Android and iOS mobile push you should choose corresponding platforms and add a deep link.

    To web push, you should add a link which could be added in Pushwoosh Send Push section of your Control Panel or using link API parameter.

    So, it will be two different pushes in your Control Panel or two different API /createMessage requests with different platforms and link parameters.

    Regards, Ivan

  • Avatar
    Christopher Messner

    We will use the /createMessage endpoint of the API. Ah, so you're recommending that we create one request containing {"platforms": [1,3], "link": "http://something.com", minimize_link": 0} for mobile platforms and another request containing {"platforms": [10,11,12], "link": "http://somethingelse.com"} for web platforms.

    That could potentially work, although it will double the number of pushes we have to generate under the assumption that we need to support web/mobile on every push. A great enhancement would be the ability to support both types in one request.

    Thanks very much!

Please sign in to leave a comment.