Send parameters from web page to ionic app

Hi all !

Could anyone suggest please, is it possible to send parameters from web page to ionic app ? For example I have button on my web page … I click button and my ionic app understand that I called it and send parameters.

You van try Socket.io for real time communication

Or url redirect with the parameters in the url (http get), including routing

Hello,

sounds interessing. Do you have an example how that looks or a link for this use case.

Thanks in advance and best regards,

anna-liebt

Hi

I guess there are multiple ways…

using Ionic Router, the angular Router. I bet there are ways to kick off cordova apps using URL (simple Google search: https://github.com/EddyVerbruggen/Custom-URL-scheme)

And I recently used HTTP GET parameters in a PWA. Not the best way (I think the router is better), but it worked nicely for me then and still

Use Chrome:
https://worldbooker-798b1.firebaseapp.com/?area1=Europe/Amsterdam&area2=Asia/Yangon&area3=Asia/Tokyo&now=1528241409320

Regards

Tom

Thanks a lot guys… I will try.