Hi,
I am trying to achieve a different behaviour for my dynamic links on desktop (Windows/Linux/Mac etc). I am generating the dynamic links using REST api given here
https://firebase.google.com/docs/reference/dynamic-links/link-shortener. As per documentation a parameter named 'ofl' can be specified to achieve a different behaviour of a dynamic link on Desktop.
I am not able to create such a link with ofl parameter because in the documentation it is not mentioned where to place the ofl parameter in the request body. I tried placing it at the following places:
1. Inside dynamicLinkInfo i.e dynamicLinkInfo.ofl
2. At the root
3. Inside androidInfo i.e. androidInfo.ofl
But every time I am getting the error. For eg for case 1 I am getting: Invalid JSON payload received. Unknown name \"ofl\" at 'dynamic_link_info.android_info': Cannot find field."
Sample request body:
{
"dynamicLinkInfo": {
"androidInfo": {
},
},
"suffix": {
"option": "UNGUESSABLE"
}
}
Please help.
Regards,
Harish Moyal