I have two Ionic applications that need to the be able to open each other, NOT in a Web View, but externally (if the app is already running, it can be restarted or just continue - I will handle both).
After many hours of research, I found that, using InAppBrowser (window.open(URL, _system)), I was able to open externally every commercial application I tried (facebook, twitter, maps, etc). The same call, when trying to open one of my applications, opens it in a Web View.
window.open(“fb://”, _system) -> opens Facebook separetely.
window.open(“myapp://”, _system) -> opens my application in a web view.
I’ve tried to modify AndroidManifest,xml and the config.xml, but almost everything I change is erased by the building.
For example, if I change "android:launchMode=“singleTop” to "android:launchMode=“singleTask” and i run “Ionic build”, my change is lost and singleTop is there again.
Any solution? I really don’t know what to do! Thank’s a lot!!