0

I have a web app and I have setup URLScheme to open another app.

Idea is

  1. At OpenUrl I insert records into sqlite database, that act as parameters to homeviewmodel (very first view).
  2. and when homeviewmodel loads it will download data and save them to sqlite

But, When they are switching, homeviewmodel already loaded and then openrl is called to insert paramaters to sqlite.

Basically I need parameters passed from first app be available to my another app before my very first view is hit.

How can I do it?

Rakib
  • 6,975
  • 6
  • 24
  • 43
Div
  • 47
  • 6

1 Answers1

0

I would just do it how reach platform does it.. Make an IStartAppService if you're wanting to call this from the core logic then implement these:

iOS using this tutorial. Basically you are just setting up a custom URL and can pass parameters too.

Android using this using LaunchIntent and the package name.

Community
  • 1
  • 1
PkL728
  • 925
  • 8
  • 20