Send parameters from web page to ionic app


#1

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.


#2

You van try Socket.io for real time communication


#3

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


#4

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


#5

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


#6

Thanks a lot guys… I will try.