Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Application.OpenURL problem with mailto

Discussion in 'Tizen' started by Subhajit-Nath, Apr 8, 2016.

  1. Subhajit-Nath

    Subhajit-Nath

    Joined:
    Dec 9, 2012
    Posts:
    31
    Code (CSharp):
    1. Application.OpenURL("mailto:feedback@witls.com");
    The above code turns into "edback@witls.com"

    Code (CSharp):
    1. Application.OpenURL("mailto:feedback@witls.com?subject=Castle%20Hunter");
    The above code turns into "edback@witls.com?subject=Castle%20Hunter"

    Testing on Tizen Z3 with the default mail client.
    Unity version: 5.3.4f1
     
  2. Subhajit-Nath

    Subhajit-Nath

    Joined:
    Dec 9, 2012
    Posts:
    31
    Anybody?
    Any idea why is this happening?
     
  3. Masterfalcon

    Masterfalcon

    Unity Technologies

    Joined:
    Dec 29, 2014
    Posts:
    364
    Sounds like incorrect behavior. Could you submit a bug?
     
  4. Subhajit-Nath

    Subhajit-Nath

    Joined:
    Dec 9, 2012
    Posts:
    31
    Just submitted the bug.
    Case 787495.

    Previously I had to file another bug regarding Application.OpenURL when TizenStore urls weren't opening. It's fixed now though.
    What I am trying to say is that there may be more bugs left to solve with Application.OpenURL.
     
  5. singhhvirdi

    singhhvirdi

    Joined:
    Jul 10, 2015
    Posts:
    5
    HI Subhajit,

    Can you please share how did you manage to open url from within the game, as I cannot see any URL for my game thats live on tizen store

    Thanks
     
  6. Subhajit-Nath

    Subhajit-Nath

    Joined:
    Dec 9, 2012
    Posts:
    31
    Hi singhhvirdi,

    What you pass as string is as follows:
    Application.OpenURL("tizenstore://ProductDetail/0000000xxxxx");
    Replace the 0000000xxxxx with the content id of your game on the store.

    There is a detailed thread regarding this. Previously Unity refused to open Tizen store links.
    http://forum.unity3d.com/threads/sellerdetail-doesnt-open.377703/