With this code i can open my app from a url (from whatsapp for example), but the app is open in whatsapp and not as own app.
If i open the Taskmanager i see, my app is in whatsapp, how can i open my app as its own task?
What do you mean with "my app is in Whatsapp"?
Guess whatsapp has registered the https scheme too. If you decided to always use whatsapp at the first time then whatsapp is used.
you see my app in the whatsapp thread. This is what i want to avoid, i want if i click in whatsapp a link from my app, that my app is starting in his own thread and not in the whatsapp thread like in the screenshot above.
One more Example:
If you share a YouTube Video on whatsapp and now you click on this link in whatsapp, then the YouTube App ist starting in his own thread and not in the Whatsapp thread like in the image above.